I have written this PHP code but it is giving some weird result. The snippet is
$queryIsbnArr = mysql_query("select ISBN from quotation_master") or die(mysql_error());
$row = mysql_fetch_array($queryIsbnArr) or die(mysql_error());
print_r($row);
$_SESSION['isbnArr'] = $row;
The output which the query is giving is..
Array ( [0] => 12121 [ISBN] => 12121 )
Where as the output which is query is giving when run on the database is
12121
56
Which is correct.What is the problem with this then?