I'm trying to create a page that will allow a user to change basic information...Example of table data:
Value Existing Change
----- -------- ------
Name Bob ______
Login bobrocks ______
pass jimbob ______
--Submit--
The Change fields are textboxes. The Existing fields are pulled from a query. The problem I'm having (probably a simple one), is that if you say change 'Bob' to 'Jim' and then submit, the 'Existing' name is still Bob until I refresh. I've tried adding refresh META lines in the header, and I've tried odbc_close & odbc_free_result to see if this might force a refresh of the query.
Needless to say, I'm not the most schooled in PHP. Any insight would be much appreciated. If you need examples of code or anything more to go on, let me know.
Thanks everyone.
Value Existing Change
----- -------- ------
Name Bob ______
Login bobrocks ______
pass jimbob ______
--Submit--
The Change fields are textboxes. The Existing fields are pulled from a query. The problem I'm having (probably a simple one), is that if you say change 'Bob' to 'Jim' and then submit, the 'Existing' name is still Bob until I refresh. I've tried adding refresh META lines in the header, and I've tried odbc_close & odbc_free_result to see if this might force a refresh of the query.
Needless to say, I'm not the most schooled in PHP. Any insight would be much appreciated. If you need examples of code or anything more to go on, let me know.
Thanks everyone.