mysql_fetch_row with session
Posted: Tue May 18, 2010 3:17 pm
Hi,
I'm trying to write the row of an mysql quesry result into a session array:
I'm then trying to write the data as follows:
However that gives me:
What am I doing wrong?
Thanks in advance,
Rob.
I'm trying to write the row of an mysql quesry result into a session array:
Code: Select all
$_SESSION[data]=mysql_fetch_row($result);Code: Select all
echo"$_SESSION[data][del]";Code: Select all
ArrayThanks in advance,
Rob.