On Sun, November 19, 2006 10:00 am, Stephen wrote: > 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. You can, but it's likely to be more pain than it's worth, and confuse a great deal of logic. At least, that was my experience. As for "how" you could do it by including a TYPE="HIDDEN" in each FORM. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php