Re: [PHP] Control Structure problem

2003-09-16 Thread Luke Skywalker
Yeah, thats exactly what im thinking, and speaking of it, im going to start using it a lot more :) thanks Luke - Original Message - From: "Martin Towell" <[EMAIL PROTECTED]> To: "'Luke Skywalker'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]&

Re: [PHP] Control Structure problem

2003-09-16 Thread Luke Skywalker
yeah, i really like using cases they work well and especially if you want to do something different for different values, i forgot about that, its a good way to do it, does php have case else? cuz that is a really handy thing in VB that people often forget... Luke - Original Message - Fr

Re: [PHP] Control Structure problem

2003-09-16 Thread Luke Skywalker
hing" or $b = "bar" or "something"? and thats just a simple example :) but i know it would be really nice in simple logical expressions Luke - Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To: "Dan J. Rychlik" <[EMAIL PROTE

Re: [PHP] Control Structure problem

2003-09-16 Thread Luke Skywalker
I think speaking for everyone its great to be able to help, we all started somwhere :) i remember getting stuck on the same problem in visual basic ages ago Luke - Original Message - From: "Dan J. Rychlik" <[EMAIL PROTECTED]> To: "Luke Skywalker" <[EMAIL P

Re: [PHP] Control Structure problem

2003-09-16 Thread Luke Skywalker
try if ( $var == "TEST ONE" || $var == "TEST TWO" || $var == "TEST THREE") { do something; } luke - Original Message - From: "Dan J. Rychlik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 9:53 AM Subject: [PHP] Control Structure problem This does