[SOLVED] Multiple case statements in a switch statement.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Are you asking me? :)

I've made my case, end of story. :)

Continue as normal soldiers :D
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

I'm so glad that I needed a multi condition switch statement today. I must've posted this thread, quite a while ago, found another way around my problem, and forgot about this thread I created. I missed the posts about fall throughs but I didn't this time. It never crossed my mind to do something like this before but it should be something that jumped out and smacked me in the face.

Thanks for the help.
Post Reply