Can I perform a PHP script from a form but stay on the same page afterwards?

From: Date: Fri, 09 Aug 2002 20:34:21 +0000
Subject: Can I perform a PHP script from a form but stay on the same page afterwards?
Groups: php.general 
Request: Send a blank email to php-general+get-111888@lists.php.net to get a copy of this message
Hi, I have a form where the user can change a value ion a text box and then click on a button which will update a table in a MySQL database. I assume that the only way to do this is to have the button POST the form value to my script which updates the MySQL table. However, once updated (whether the update is successfull or not), I need to remain or return to the same page that the form is on. Can this easily be done?

« previous php.general (#111888) next »