Encapsulation: Encapsulation is the mechanism that binds together code and the data it manipulates, and keeps both safe from outside inte...
CakePHP testimonials Components and Plugins are still separate entities in Cake 2.0. According to the manual components are " are pa...
CakePHP Redirection Redirecting: $this->redirect(array('controller' => 'orders', 'action' => '...
Cakephp Model Fetch query Retrieve data from database $this->Resume->find('first',array('contain'=>array('R...
AJAX = Asynchronous JavaScript and XML. AJAX is about loading data in the background and display it on the webpage, without reloading th...
Function to fetch ip address function get_ip() { $ipaddress = ''; if (getenv('HTTP_CLIENT_IP')) $ipaddress = ge...
How to change default sorting & disable sorting. $('.dataTables-example').dataTable({ "order": ...
songs.xml <songs> <song dateplayed="2011-07-24 19:40:26"> <title>I left my heart on Europa</...