Current location: Hot Scripts Forums » Programming Languages » PHP » would any one help me pls


would any one help me pls

Reply
  #1 (permalink)  
Old 09-10-03, 06:54 PM
arden arden is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
would any one help me pls

well, its all about the .tpl files and php.
i have a phpbb forum ok, i'vr been able to put some ads in there " up and down " but they are non rotating, so i reached a script called "phpadmentor " it is some thing like " phpadsnew " but much sipmler.
so, each time i try to get the code it works fine with a php file, but when i put the code in the .tpl file for the forum to display rotation, it give a blnak space?
the code it self
-------
<?
require_once ('./adment/phpadmentor_config.php'); ?>
<? echo PhpAdMentor_GetAd("7", 5, 0 );?>
----------
i did try " require and requier_once but the second worked out very good "
so, what is there?or the .tpl files can't handle the php code
when i put the code in the .tpl file it was like that
----------
<td width="468" height="60">
<p align="center"><?php
require_once ('./adment/phpadmentor_config.php'); ?>
<? echo PhpAdMentor_GetAd("7", 5, 0 );?>
</td>
----------
can you help me with that
also could i put this code within a cgi script
thanks Nicholas
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 07:00 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.