PDA

View Full Version : Simple php page


NexDog
11-28-2002, 09:56 AM
I'm trying to hard code one php page that only has to pull out one template so the page is sweet with all 5 styles. Unfortunately I don't know PHP and have little time to learn. I thought something like this would work:

<?php
error_reporting(7);

require('./global.php');

if (!$bbuserinfo[userid]) {
show_nopermission();
}

eval("dooutput(\"".gettemplate('zonex')."\");");
}

?>


But alas, parse error on line 11. Simple stuff, can someone finish it pour moi? Thanks!

Logician
11-28-2002, 11:58 AM
} at the bottom is redundant

NexDog
11-28-2002, 09:57 PM
Thanks, worked like a charm. :)