Re: [PHP] Switch case syntax

2001-08-20 Thread -:-Doigy-:-
No, they weren't in quotes strangely. Adding quotes removes parsing error. Thanks David -- 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]

Re: [PHP] Switch case syntax

2001-08-20 Thread David Robley
On Tue, 21 Aug 2001 14:22, -:-Doigy-:- wrote: > 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 cause

RE: [PHP] Switch case syntax

2001-08-20 Thread Jason Murray
> Some codes start with MB- for instance, and this causes a > parsing error. I don't see how this would cause a parse error? Can you show us an example? J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC