
Search In
Hello Reader's! if you want to get the name of function and method being called, Then by using PHP you can do this as explain below:-
Lets's see the example as below:-
We use the info provided by a php exception, it's an elegant solution:
function G
Hello Reader's If you want to delete a folder and all the files in it then by using PHP recursive function you can do it.
Let's see on example as follows:-
Before deleting the folder, delete all it's files and folders (and this means recursion!). H
Hello Readers's if you want to get a recursive set of dates between two given dates, For example
10-12-2105 to 19-12-2015 there are 9 days all will have different dates. By using PHP you can get this as using the code below:-
$startTime = strtotime
Here is the simple example of YUI ajax with Post and Get method:
POST request:
var callback = {
success: function(o){
alert(o.responseText);
},
failure: funct
There are always a requirement when you have to update the multiple records at the same time using ActiveRecord with a single HTTP request. All you have to do is create a hash with keys as the primary key and value as another hash of all the fields w
In odoo-9 first we have to install odoo website builder module after this, lets first create an empty file and named it style.less and place it in a folder called less in static folder. The following rules will style our Ser
In SQL if we dont have used primary keys then our id gets repeated accidentally or unintentionally.
In this case we need to find out how many records are same. We need to find out the same tuples or rows from a table.
For doing that we will per
Migrate Library in JQuery
While using Jquery you have seen the error $.browser error.
This error comes often when we try to use a legacy jquery function in new version of jquery file.
The latest version does not support the older function a
Hello Reader's ,
While building any appication we definatley requires images to upload like profile image , company image etc , for this we require php file upload code .
You will get image data in array i.e. image name , temp name , image size ,
In JQuery to check that element is exists or not we use length() function. Using length() function we will check the length of the selector, if it returns something then the element must exists else not.
if( $('#selector').length ) // to c
