Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Use of LIKE in MySQL

This article explains how to use LIKE operator to get data from MySQL table based on pattern matching. The LIKE operator used with WHERE clause of SELECT, UPDATE and DELETE statement which search for a specified pattern in a column. In MySQL LIKE op

Woocommerce Or Magento - What to use and when?

Magento and WooCommerce are currently the top two frameworks in use for e-commerce websites over the web. Both are backed by strong open-source communities developing plugins for various functionalities a

SQL SELECT COUNT

To return the number of rows in a query,we use COUNT. It counts the numbers of records. the syntax of SQL COUNT statement. SELECT COUNT (expression) FROM tables WHERE conditions; SQL SELECT COUNT(column_name) SELECT COUNT(name) FROM empl

Laravel 5.0 Writing Static Query In Laravel

Many times we needs to write static query in Laravel. Some time due to the complexity of the query or sometime due to the MYSQL build in functions not supported in the Query Builder or in Eloquent in Laravel example LPAD. Thus at that time Laravel pr

User of Recursive in cakephp

It is used where ample data is fetched from the query and there are numerous levels of associations between your models. we use Recursive like this way. $this->Region->find('all', array('recursive' => 0)); These are levels of Recursive f

How to write custom mysql query in Wordpress

Hello Guys, Some time we need to custom mysql query. If you are looking to write custom mysql query in Wordpress. Please follow the code for the same:: global $wpdb; $sender_name = $wpdb->get_results("SELECT first_name,last_name FROM sender_deta

Android background service launches itself after closing UI

There is a requirement to start the background service from the another application where the current services are only installed and not in running state. So I started the service from the another application by using the below code in MainActivity

How to loop through array elements using forEach in ES6?

In this blog, we will learn how we can use foreach in the latest ES6 i.e. ECMAScript 2015. In ES6 the new syntax that we will use to iterate over the elements of array is “for-of”. Hence here we will learn how we can iterate through the e

How to write forward SQL query in cakephp2.x

We might be familiar with the cakephp simple feature which allows us to retrieve and save data in database using find() and save() functions respectively. But there is an another way of writing forward SQL queries in cakephp through which we can wri

Percent to Toal in SQL

To display percent to total in SQL, we want to leverage the ideas we used for rank/running total plus subquery.   Different from what we saw in the SQL Subquery section, here we want to use the subquery as part of the SELECT.   Name

1 139 258
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: