PDA

View Full Version : else statement


Lionel
02-16-2002, 04:23 PM
I'd like to add an else statement to the below, but I am not sure on how to place the brackets.

if ($bbuserinfo['userid']==0) {
eval("\$adpopup = \"".gettemplate('ad_popup')."\";");
}

else{
eval("\$adpopup = \"".gettemplate('ad_nopopup')."\";");
}

Admin
02-17-2002, 10:24 AM
Doesn't matter... the way you have it is ok.