
Search In
find_in_set() is a function which returns the position of a string within second string.
We mostly found a situation where we want to fetch records on the basis of particular string and that string are stored in comma separated values in database
Hello readers, today we will discuss about "Calculating the difference between two dates in PHP".
For example, we have 2 dates and we wants to find the difference between them in php so we can use the below code:
$date1 = "2007-03-24";
$date2 = "20
VoiceXML applications include taking orders from customers, making inquiry about any product, package tracking, driving directions, emergency notification, wake-up, flight tracking. VoiceXML is broadly used by call centres for Customer relationship m
Ruby Methods are similar to functions which begins with lowercase letters. It bundles one or more repeatable statements into single units.Methods are always defined before calling them.
Syntax:
def method_name [( [arg [= default]]...[, * arg [, &
The GROUP BY statement is used in conjunction with the aggregate functions to group the result-set by one or more columns.
Below is the possible keys that we use in cakephp query.
$params =
array(
'conditions' => array('Model.fi
We can split sublime editor into 2 or more screen in any one of the following 2 ways :-
I am going to tell you how to split it into 2 screens, using the similar way you can split in into more than 2 screens also or vice-versa.
1> From menu b
In some cases, we use find_in_set() instead of in() in mysql. Following is an example, where we should use find_in_set() instead of in() :-
Suppose we have a table 'flashdata':-
fid productId
1 75,73
2 72
3
Foursquare authenticate API returns all the information related to user's fourSquare account. In this response under "user" tag there is a tag "photo" with two other tags "prefix" and "suffix" like below.
photo = {
prefix = "https://irs1
With the help of this Plugin user can login either with email or username . This plugin is compatible with Joomla 1.5, Joomla 2.5 and Joomla 3.1 .
How to install
Login to Joomla Administrator.
Install with Joomla installer
Proceed to your Extensi
**array_slice() Vs array_splice()**
What arrayslice() function do: As name suggest this function just return part/slice of array which we pass to arrayslice() function as parameter 1 depending upon the
