Helpful Information
 
 
Category: vB3 Programming Discussions
A simple command

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

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.










privacy (GDPR)