Forums
This topic is locked
Help with comparing comma seperated values
Posted 21 Jan 2004 18:08:14
1
has voted
21 Jan 2004 18:08:14 Martin Sagerstrand posted:
Hi,I have this simple if statement where I use If 1 = 1 then bla bla, now the values I want to check for are comma seperated so it would look something like this If 1 = 1,3,5 then bla bla but how to I get this to work???
Thanks for ALL help
Regards
Martin
Replies
Replied 24 Jan 2004 03:11:24
24 Jan 2004 03:11:24 Phil Shevlin replied:
2 questions:
1. do you mean
(1=1) or (1=3) or (1=5)
or
(1=1,3,5)
2. what language. php or asp
1. do you mean
(1=1) or (1=3) or (1=5)
or
(1=1,3,5)
2. what language. php or asp