|
Posted by stan on 09/10/06 01:58
I'm sure I'm missing something simple here; help will be appreciated.
I've got a search form that displays records from a MySQL db matching
criteria entered by the user; the search form appears again below the
results. Each row of the recordset is shown with edit and delete links,
which call other .php pages (one for editing, one for confirmation of
the delete). All that works fine.
The edit and delete-confirm pages have links to return to the search
results, using javascript:history.go(?). This also works fine.
Trouble is, the edit or deletion is (of course) not reflected when the
user returns to the search results.
Ideally, the "return to search results" links would automatically
requery the db before showing the results. The only way I've found to
do that is to preserve the user's entries in the form, which would be
kinda handy anyway since it would make for easier refinement of the
search -- but if I do that, my "Reset" button doesn't work; the form
continues to show the user's previous entries.
What am I missing?
Navigation:
[Reply to this message]
|