Re: Re[2]: [PHP] if statement

2002-07-08 Thread Philip Olson
> Thanks the array worked just perfect. Where do you find stuff like > this I looked all over the manual and could not find anything that > told me how to do this. A good way to learn this sorta thing is with experience. The more you learn and understand, the easier it is to write your own usef

RE: Re[2]: [PHP] if statement

2002-07-08 Thread Martin Towell
I was looking for a similar functionality to Pascal's "in" statement and when I looked at someone's code one day and saw this in_array() thing and thought, "Aha! That's how you do it!" and ever since I've made good use of it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE