[PHP] Switch case syntax From: -:-Doigy-:- (Doigy <email protected>)
Date: 08/21/01

Hi Folks,

In a switch, I have a load of 3 letter prefixes I'm sorting by. They are
the truncated first 3 letters of alpha-numeric product codes which gives the
category of the product.
Some codes start with MB- for instance, and this causes a parsing error.
Can I fix this without changing the fact I'm switching on a 3 letter string?

Cheers

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>