Wednesday, August 15, 2012

PHP array()...

 I wanna share you about the normal php array() progamming.. 
type the code given below into your browser ..



<?php
$a=array("a"=>"Dog","b"=>"Cat","c"=>"Horse");
print_r($a);
?> 



now its will show the output as

Array ( [a] => Dog [b] => Cat [c] => Horse ) 

enjoy our 1st php lesson... thank you..

No comments:

Post a Comment