Print_r() in PHP
The print_r() PHP function is used to return an array in a human readable form. It is simple written as print_r($yourname).
Example:
$array = array('chand'=> "good",'jigu'=>"also good");
Output:
Array( [chand] => good [jigu]=> also good)
No comments:
Post a Comment