Re: silly question

From: Date: Wed, 14 Nov 2001 01:48:25 +0000
Subject: Re: silly question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74521@lists.php.net to get a copy of this message
Take care to be sure that you make the update, before the rest of the page loads, things happen in order, so it's almost like creating your page backwards (I just had that problem). I can elaborate if you like. (C: rperes@mac.com wrote:
Hi list, I have PHP code to insert the result of a form into mysql. When I nedd to made an update, I pass an "id" in the url and use it to make the update query. The problem is after I click in the update button (input submit) my page refresh and came back in the same state, to see the changes I need to type in the url again with the parameter?? why?? There's a way to avoid this and get a new blank form page after the update? ps: I've stored the "id" in a input type hidden, so I could click the button and still have the id Thank's in advance Rodrigo Peres


« previous php.general (#74521) next »