Welcome, Guest. Please Login or Register.
October 04, 2024, 01:20:57 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

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 423 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.454 seconds with 21 queries.