Re: [PHP] php is not working with submit button

2002-07-08 Thread Analysis Solutions
Hi Terry: On Mon, Jul 08, 2002 at 11:36:46PM +0800, Terry Cheung wrote: to the mysql database, the only problem is all the php pages seem likes do not response to the submit button, it just direct back to the same page Then you're not writing your form correctly. form method=POST

Re: [PHP] php is not working with submit button

2002-07-08 Thread Philip Olson
This is an issue of the register_globals directive, the default went from off to on as of PHP 4.2.0 Either change your coding style or turn it back on. input type=text name=foo print $_POST['foo']; $foo will exist if register_globals = on. Search archives, google, the manual, etc.

Re: [PHP] php is not working with submit button

2002-07-08 Thread Terry Cheung
It works, really Thanks a lot to you all!! I will try to modify all my script. Philip Olson [EMAIL PROTECTED] ???:[EMAIL PROTECTED] This is an issue of the register_globals directive, the default went from off to on as of PHP 4.2.0 Either change your coding style or turn it back on.