PDA

View Full Version : A simple command


lostboy
08 Nov 2001, 11:09
I want to know if there is an "or" stament that can be used.....

I have this

if ($forumid==2) {
eval("\$ippathform = \"".gettemplate("newthread_pathform")."\";");

but I want to be able to have more than one forumid in it...

if (forumid==2 or 10)

I don't know if this is possible or not but any help would be greatly revieved.....

Many thanx

Chen
08 Nov 2001, 14:29
if ($forumid==2 or $forumid==10) {
eval("\$ippathform = \"".gettemplate("newthread_pathform")."\";");
}

Please show you are a licensed user by going to this (http://www.vbulletin.com/members/vbulletin.org.php) page. Thank you.