i need to convert a PHP $var
to a array.
i did like this
$array = array();
$var=$array;
but this way the dosent give the output as this
Array ( [0] => [1] => 9 [2] => 7 [3] => 11 [4] => 5 )
its gives like
a normal varible print 154515100
Array ( [0] => [1] => 9 [2] => 7 [3] => 11 [4] => 5 )
can be related to154515100
. show us the relevant code. – stillstanding Nov 21 '10 at 18:11