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:[EMAIL PROTECTED]]
> Sent: Friday, November 16, 2001 1:44 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] php switch() problem


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to