Hi,
I have a search form on my page, which feeds into an SQL select statement being built when the user hits the button.
The action page builds the SQL, and displays the 1st 10 entries. When I set up my 'Next' button, I thought I would just call 'PHP_SELF', passing through the row number to start at, so the Select statement would still exist.
However, when the page reloads, the variable which held the select statement gets reset... I found that I couldn't use $_POST['variable'] to get it from the previous form, either...
Is there a way of keeping the variables, other than using Sessions? Can it be done by declaring it a global variable, and if so, are there security issues?
Anyone understanding my problem? Anyone got any help for me?! Thanks a million!