now that I finally have my sessions working (thanks to Lrnmore)I've been able to properly remove records from a result set that have been stored in a session...
Next I would like to be able to add one result at a time to the result set.
Example:
I begin with an empty <iframe> (except for headers)
below the <iframe> are buttons, each containing a name.
when the button is pressed a query is run (i.e. SELECT * FROM movies WHERE name="$_SESSION['name']
the results (for that person) are displayed in the <iframe> and added to the result set.
when another button is pressed all the records for that name are added to the previous results...and so on...
Right now I am able to output the entire contents of the table to the <iframe>, however I'm not sure as to how I can add the results of each query to a SESSION result set.
So I guess the question is...
Can I add rows to a result set (and the <ifram>) based on a mysql query using SESSION variables? If so whatwould be the best way.
Thanks
atsea
Next I would like to be able to add one result at a time to the result set.
Example:
I begin with an empty <iframe> (except for headers)
below the <iframe> are buttons, each containing a name.
when the button is pressed a query is run (i.e. SELECT * FROM movies WHERE name="$_SESSION['name']
the results (for that person) are displayed in the <iframe> and added to the result set.
when another button is pressed all the records for that name are added to the previous results...and so on...
Right now I am able to output the entire contents of the table to the <iframe>, however I'm not sure as to how I can add the results of each query to a SESSION result set.
So I guess the question is...
Can I add rows to a result set (and the <ifram>) based on a mysql query using SESSION variables? If so whatwould be the best way.
Thanks
atsea