I have a 1 page and 2 forms on it. One form you type in a name and it displays the user information on the second form. Within the second form I have an update button on each row, like for name, location, ect. Heres where I am lost: When I searched a name that comes up true from the DB, I set a variable $user_found, then when you click an update button on the second form, it sees if $user_found is set, if it is, it will run the query, else it says a user is not selected. I just set a regular variable but it doesn't keep the variable in memory when I click the update button (I thought it would since the page on the reload after selecting the user sets the var, so I thought it should hold it for the check on the update submit). And Im not to familur with sessions, I tried but my headers were sent allready and I wassn't quite sure how there really worked. So is there a way to do this without sessions?
1st page: type in name, click search.
page refreshes, sets user_found variable.
click update button, looks for user_found variable. (only it doesn't find it even when it is set)
Any help would be great. If you need more info please let me know. Thanks.