RE: [PHP] php switch() problem
| From: | Kees Hoekzema | Date: | Fri, 16 Nov 2001 20:46:24 +0000 |
| Subject: | RE: [PHP] php switch() problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74935@lists.php.net to get a copy of this message | ||
hey
use exit; instead of break;
break breaks the "switch" statement and continues with the
code below, exit exits the script (en doesnt execute any
code below the switch statement)
Kees
> -----Original Message-----
> From: Ann Jamison [mailto:annjam@houston.rr.com]
> Sent: Friday, November 16, 2001 1:44 PM
> To: php-general@lists.php.net
> Subject: [PHP] php switch() problem