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

Search In

How to create your own helper in cakephp

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,&

How to use Cakephp pagination using ajax in 2.x version?

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

Find method with JOIN in CakePHP

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' =>

Get the Current Page URL

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

Change array keys in LOWER or UPPER case

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

What is process to get the vedio views from youtube using API in PHP ?

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

Laravel 4.x Carbon Class

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

Simple Cakephp Pagination

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

Magento indexing issue

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

Add/Subtract number of days to specified date in PHP

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

1 20 39
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: