Welcome, Guest. Please Login or Register.
April 30, 2025, 12:11:46 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  More PHP Parsing help... « previous next »
Pages: [1] Reply Ignore Print
Author Topic: More PHP Parsing help...  (Read 470 times)
mattward2k
Noobie
*
Posts: 13


PHP Almost-Semi-Wannabe-Guru

WWW
More PHP Parsing help...
« on: January 07, 2002, 05:20:23 PM »
Reply with quote

I have put the following in Subs.php:

function yyIncludeMenubar() {
   require("mypathto/menubar.php");
}

and in the template file I have added the following:

<yabb IncludeMenubar>

Yet when I load YaBBSE it does not load my menubar, there's just nothing where the menubar should be, so I assume that I'm doing something wrong somewhere :p its not a problem with the file as it is pointing to the right place.
Logged
Savageman
Noobie
*
Posts: 35


Not a llama!

Re:More PHP Parsing help...
« Reply #1 on: January 07, 2002, 08:22:37 PM »
Reply with quote

i think the problem is in your menubar.php file.  i created a small test file, and i put something like this

<?php
print "<img src=\"pathto/banner.gif\">";
?>

and what u wrote works fine.
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  More PHP Parsing help... « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.027 seconds with 17 queries.