Re: [PHP-DB] Form action

2004-10-12 Thread Ng Hwee Hwee
gt; To: "Ng Hwee Hwee" <[EMAIL PROTECTED]> Cc: "PHP DB List" <[EMAIL PROTECTED]> Sent: Monday, October 11, 2004 11:47 AM Subject: Re: [PHP-DB] Form action > When I first started out with PHP, I asked the same myself the same > questions as you just did. But over

Re: [PHP-DB] Form action

2004-10-10 Thread Shahmat Dahlan
When I first started out with PHP, I asked the same myself the same questions as you just did. But over the years I have concluded: Method (1) centralizes all your form submission processes for addition, deletion, updating purposes, which means when you want to start debugging, you would end up

[PHP-DB] Form action

2004-10-10 Thread Ng Hwee Hwee
Hi all, i'm designing a lot of forms and would like to know the standard practice. which of the following will be advisable? 1) form action is $PHP_SELF i.e. i.e the script to check if the values submitted is valid and the scripts to insert the data into the database are all in