this is my first time working with php and i'm having some trouble passing a query result from one page to another.
i've tried using sessions, but the value passed along is shown as "myquery = Resource id #2" when the script is run the second time.
i want to be able to use the value of $result during the entire session, in my case, it is a search query:
$result = mysql_query ("SELECT sid, name, bug, status, releases, owner, comments, date_format(moddate, '%m/%d/%y') AS Readable_Date FROM stacksig WHERE name like '%$name%' and bug like '%$bug%' and status like '%$status%' and releases like '%$releases%' and owner like '%$owner%' and comments like '%$comments%'");
I am able to display the results just fine the first time the form is submitted, but i want to be able to display the result in different ways...so i need to be able to reuse that query. Is there any way for me to use session to accomplish that?