SESSION Value Not updating Each Time
Posted: Thu Nov 17, 2011 4:50 am
This is my php code after search the array query......
In the above post i have to return title of each result to nxt page....pls help.....Thanks in advanse
Code: Select all
while ($row = mysql_fetch_assoc($query))
{
$title = $row['gamename'];
$description = $row['gamedes'];
$keywords = $row['keywords'];
echo "-->'$title'"; echo "------>'$description'"; echo '<table border="0"> <tr><td><form method="GET" action="msearchbookh.php"><input type="submit" value="Have It!"></form></td><td><form method="GET" action="msearchbookw.php"><input type="submit" value="Want It!"></form></td></tr></table><hr>';
$_SESSION['title'] = $title;
}