I am using url/get for all data transfer rather than post. Maybe this is a problem.
Basically original url is (pseudo) "select * from table where rec=5"
This url returns an editable detail form from server. User changes rec=5 to 6 in the form, and additional url parms are added via javascript so I can create an update (or insert) statement which the server then processes.
If server has success with this, I want to return editable detail w/new values and additionally change original url to "select * from table where rec=6".
I need to change url as if the user changes returned form values and hits update again, since I'm working off url for query and not form data, it still keys off the original query...not a modified one, which I want.
I guess I could be using only posted form data for communication between client and server, right?...as server could return updated query string in hidden form fields. But before switching all my code, I thought I might be able to change/forward the url to something else (new query string). When I try to do this via header() php complains that header already sent.
any ideas of how to better go about this?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php