I am sure by now, some of you have seen some of previous posts. I want to thank everyone for helping a beginner with all this.
Too summarize: I have been working on two scripts.
1) A simple form that passes variables to a second form
2) The second form queries the DB and displays the results. It also has pagination.
I finally got everything working.....correctly. I had been treating these files seperatly...a search page and a results page.
Well, now that everything is working....I wanted to simply use an include statement to place my search page above the results.
Well, this is where my sessions are now the problem.
See, this is how I have setup the sessions in my search form.
<?
session_start();
session_unset();
session_register("myvariable")
?>
I am doing this, so if someone uses the form, and wishes to use the form a second time the unset removes the previous session.
The problem is now when I include this page to my main script...I believe the session gets destroyed.
Isnt that how the include would work.....
So, my question is.....how can I get around this?