The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Help with this code
When I insert
Code:
$customrowbanner = $db->query_read("SELECT id,banner_text FROM " . TABLE_PREFIX . "banner WHERE groupid=$foruminfo[forumid] ORDER RAND()"); $id=$customrowbanner['id']; $text=$customrowbanner['banner_text']; eval('$custombanner = "' . fetch_template('custombanner') . '";'); } else { $custombanner = ""; } Parse error: parse error, unexpected '}' Any ideas on how to write this to avoid this error message? Thanks, Parker |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|