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

2002-08-15 Thread Charles Fowler
Check out Liz Fulgham article on PHP and Forms - http://softwaredev.earthweb.com/script/article/0,,12063_996351,00.html It show how the _SERVER fuction/varible is used. Cheers CJ Jim Dam wrote: http://www.faqts.com/knowledge_base/view.phtml/aid/235/fid/17 - Original Message - From:

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

2002-08-09 Thread DonPro
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

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

2002-08-09 Thread César Aracena
-Original Message- From: DonPro [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 5:34 PM To: php list Subject: [PHP] Can I perform a PHP script from a form but stay on the same page afterwards? Hi, I have a form where the user can change a value ion a text box and then

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

2002-08-09 Thread Jim Dam
You can send a 204 No Content header, and the browser won't move to the new page, but instead the PHP script will be executed and the browser will stay on the same page. Jim Dam [EMAIL PROTECTED] - Original Message - From: César Aracena [EMAIL PROTECTED] To: 'DonPro' [EMAIL PROTECTED];

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

2002-08-09 Thread php @ banana
You can send a 204 No Content header, and the browser won't move to the new page, but instead the PHP script will be executed and the browser will stay on the same page. could you gimmie a code snippet of the above Thanks R Jim Dam [EMAIL PROTECTED] - Original Message - From: