Re: [PHP] Using Switch to control

2002-03-15 Thread Andre Dubuc
Thanks Justin, It wasn't "pseudo code" -- I just didn't know what I was doing! :> I didn't know I had to brace php code with . I like your method as well -- I'll give it a try. Thanks for replying, Regards, Andre On Friday 15 March 2002 19:58, you wrote: > I haven't had any experience with s

Re: [PHP] Using Switch to control

2002-03-15 Thread Andre Dubuc
Thanks Miguel, I sort of figured I wasn't doing something right. Thanks for setting me straight on switching between html and php. Sort of basic, but I didn't know whether I needed to do that everytime. Sorry for the delay in replying -- just as I received your message, we had company over.

Re: [PHP] Using Switch to control

2002-03-15 Thread Justin French
I haven't had any experience with switch at all, but I do have forms with multiple submit buttons. I've been running things slightly differently: ... Then rap.php has a basic if statement: Otherwise, the code you have below seems to be missing some 's around the PHP, but it might

Re: [PHP] Using Switch to control

2002-03-15 Thread mnc
On Fri, 15 Mar 2002, Andre Dubuc wrote: > I'd like to control which php file is called when clicking two buttons on the > bottom of a form; one called "Add Names", the other "Submit" > > I've tried the following with no success: > > *** >switch ($

[PHP] Using Switch to control

2002-03-15 Thread Andre Dubuc
I'd like to control which php file is called when clicking two buttons on the bottom of a form; one called "Add Names", the other "Submit" I've tried the following with no success: *** ; break; case submit: