RE: [PHP] switch statement
| From: | Peter Houchin | Date: | Mon, 26 Feb 2001 02:50:56 +0000 |
| Subject: | RE: [PHP] switch statement | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41634@lists.php.net to get a copy of this message | ||
I'm playing aruond with the switch statement trying to get one to work for
$submit
I have 2 forms on the one page (only one displays at a time) 1 is for
creating a new record in my data base the other is for updating/changing
values from the first form should there be any. So i want it to switch
between the 2 cases
-----Original Message-----
From: David Robley [mailto:huntsman@hermes.nisu.flinders.edu.au]
Sent: Monday, February 26, 2001 1:34 PM
To: Peter Houchin; PHP MAIL GROUP
Subject: Re: [PHP] switch statement
On Mon, 26 Feb 2001 12:33, Peter Houchin wrote:
> > Does any one know where there are some tutorials for the switch
> statement?
> Peter Houchin
> Sun Rentals
> peterh@sunrentals.com.au
>
Have a quick look at
http://www.php.net/manual/en/control-structures.switch.php
which has some user notes which are possibly useful over and above the
actual documentation.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net