Print_R()

Hi frined,

If u do not use this




echo "<pre>";

print_r($arr);

echo "</pre>";

then u can use this below function put your common file




function p($ob, $f=1)

{

	print "<pre>";

	print_r($ob);

	print "</pre>";

	if($f==1) 	exit;

}

and use this


p($arr);

if page continue work u can use this


p($arr,0)

Hope it may helpful

Thanks, this is very handy for debugging.

Yes that’s why i created it’s easy way for debugging…