Hello there
I want to colect the results of a search in a session so I can take this results with me from page to page so I decided to create a session, but I just don“t know exactly how to manage it.
Any help is greatly appreciated.
This is what I`ve done
<?php
session_start();
if (!isset($findname)){
echo "Must specify a name";
echo "</html></body> \n";
exit;
}
$result = mysql_query("SELECT * FROM mydb WHERE Name LIKE '%$findname%' ");
//$num_rows = mysql_num_rows($result);
if (!mysql_num_rows($result)) {
echo "Nothing found";
exit;
} else {
while ($Row = mysql_fetch_array($result)) {
$Name = $Row["Name"];
?>
______________________________________>
Now if I want this session in another page how can I call the session?
Like...
session_start();
...where I want to get the search from above?
Thanx