PHP array
Posted: Wed Jun 22, 2011 12:59 am
Hello,
Can I initialize the array in PHP as shown below.
$myarray=array();
this is because I don't know the exact values at the time of initialization, the values will be filled from the database in the while loop.
Thanks
Regards
Can I initialize the array in PHP as shown below.
$myarray=array();
this is because I don't know the exact values at the time of initialization, the values will be filled from the database in the while loop.
Thanks
Regards