Re: [PHP] Using switch() to process a set of forms

2005-03-08 Thread Franklin van de Meent
On Mon, 07 Mar 2005 19:19:24 -0600, Greg Dotts [EMAIL PROTECTED] wrote: Sure enough Kirk! That was it. Seems strange that you can set a name/value pair on the form tag, but they aren't used. Guess they were just kidding ;-) The name attribute is used in javascript, for example when you are

Re: [PHP] Using switch() to process a set of forms

2005-03-08 Thread Jochem Maas
Franklin van de Meent wrote: On Mon, 07 Mar 2005 19:19:24 -0600, Greg Dotts [EMAIL PROTECTED] wrote: Sure enough Kirk! That was it. Seems strange that you can set a name/value pair on the form tag, but they aren't used. Guess they were just kidding ;-) The name attribute is used in javascript,

[PHP] Using switch() to process a set of forms

2005-03-07 Thread Greg Dotts
Hi All, I'm new to PHP, but have read my Beginning PHP 5 and MySQL manual and have searched the net for a solution to my (presumably simple) problem. I have a series of HTML forms that need to be processed. I am tring to build a process.php file which will evaluate the FORM variable and

Re: [PHP] Using switch() to process a set of forms

2005-03-07 Thread kjohnson
I think the problem is that the name and value attributes of the form tag aren't posted with the rest of the data, i.e., $_POST['form'] isn't defined. You will need to code the form identifier a different way, e.g., either a hidden field, or, unique name and value attributes in a submit

Re: [PHP] Using switch() to process a set of forms

2005-03-07 Thread Greg Dotts
Sure enough Kirk! That was it. Seems strange that you can set a name/value pair on the form tag, but they aren't used. Guess they were just kidding ;-) Greg Greg Dotts wrote: Sure enough Kirk! That was it. Seems strange that you can set a name/value pair on the form tag, but they aren't