
Search In
There are different type of methods that we can use in cakePHP to add functionality.
1. constructClasses()- This method load the model required by the controller. This can be used while in the command line prompt.
2.referrer(mixed $default = null,
The element of an Array in PHP by default are accessed by the index number i.e. the position in which the element or value is stored in the array.
For example :
<?php
$temperature = array(10, 20, 30, 25);
echo "Delhi temperature : ".$temperatu
Bind Gridview inside Data List view
Some time we need to display content in tabular form in Data list. So we can use gridview inside in Datalist.
Here we have to define the DataList_ItemDataBound event and find control of our gridview at the time o
Truncate and drop both are similar to each other as they are used to delete the complete data of a table.
The difference between them is this truncate only delete the data of the table where as the table structure is there but when we drop the table
Each IP address have subnet mask which contains the boundaries for that address and associate it with the particular class .
The Subnet mask is changed accordingly to reflect subnetting. Given below is a list of all possible combinat
In this tutorial , you will learn that how to get the server time automatically with the use of jQuery-ajax code. We can make the simple input form in html for time.When the name is input by the user , the time input feild will automatically called f
Hi All,
To share data between two controller you should have your factory return an object and let your controllers work with a reference to the same object:
A simple example in which two controllers are sharing name of a user.
TEST.html
<!D
Bus Topology
A bus topology is like a serial transmission where all the nodes are connected in a single medium.
In case of Bus topology, all devices share single communication line or cable.Bus topology may have problem while
Static Binding:
It determines the the type of object at early stage during the compilation itself, i.e. it tells that the object belongs to which class during the compile time of the program.
There is no ambiguity in deciding the type of obje
The storage class in C are the one which defines the scope or life time of the variable and functions
Four Different storage classes of C are :
Auto
Register
Static
Extern
Auto Storage Class
Auto storage class are the one
