$forumimageid=$DB_site->query("SELECT forumid FROM forum");
if ($forumimageid == "2") {
$forumimage = "<img src=\"http://www.plasmicgaming.com/forum/images/2.gif\">";
} if ($forumimageid == "3") {
$forumimage = "<img src=\"http://www.plasmicgaming.com/forum/images/3.gif\">";
}
I know little about PHP, so I'm just going by what I've learned from looking at forumdisplay and some hacks, but this doesn't work. I place the forumimage variable in "navbar", so it shows up next to the navigation links, but all I got is blank space. What exactly am I doing wrong :angry: ?
Edit: This is in forumdisplay.php above // draw nav bar