
Search In
In our application there are situations, where we need presentational logic which will be shared between many views, elements, or layouts. For this purpose cakephp provides view helpers.
Some of them are:
CacheHelper, FormHelper,&
Hi Reader's,
Welcome to FindNerd,today we are going to discuss how to use Cakephp pagination using Ajax in 2.x version?
Pagination is a very important feature for showing multiple records on a single page in a web application. CakePHP pagination
Hello, if you are working on cakephp and you need the joins with find method here is an example. Here $my_joins is and array having multiple join cases in other different arrays inside it.
$my_joins=array(
'joins' =>
To get the current page url please check the below php script.
In the below script we define a function named as currentPageURL( ). Then we have created a variable named as $PageURL having value http. Now we are using the PHP superglobal varriable n
Hello friends,
If you want to change the array keys in either upper case or lower case then you can use a predefined array function of PHP which is "array_change_key_case()". array_change_key_case returns an array with all keys from array lower or u
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to get the video views from youtube using API in PHP ?
If you want to see the total counts of a views on youtube video by api, then you should use below code:
<?php
//here
The Carbon class is inherited from the PHP DateTime class.
Example:
<?php
class Carbon extends \DateTime
{
// code here
}
?>
There are n number of situation when we want to get the 1 day or 2 days old data. For this we will do calculati
Cakephp provides a quick an easy way to paginate data.
In the controller we start by creating the pagination condition as given below :
public $paginate = array(
'limit' => 10,
'order' => array(
'Model.fi
Sometime we face issues in reindexing like "Some problem with reindexing process" error, there are many reasons for it -
1) maximum execution of script
2) number of products in database and store view
3) locked files of previous process
To get
This article explains how to add and subtract number of days from a specific date in PHP. In many cases we have to get date after or before a specified interval of days, months and years from current date or from any specified date.
Note : With PHP
