Re: HTML Forms, PHP Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 11:00 AM -0500 11/19/06, Stephen wrote:
Hi

First question to the list.

I am writing a control panel for a web site and there will be about 20 HTML forms.

Instead of creating 20 PHP files to process the submit data, is there a way that I can do this with a single PHP file.

Either specify a specific function for each form, or use a case statement somehow to direct to the function.

Thanks!
Stephen

Stephen:

Not a problem, I use one php script to handle many forms using a case statement. You can use sessions or pass a POST/GET variable to itself to know which form to present.

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux