Log in

View Full Version : Variables between code ?!?


Sergio68
08-20-2006, 11:24 PM
How to use them ?
For example, I'd like to insert an output (forum number $f) in a template, but I've tried with HTML and PHP but is not working.

Something like that

echo"This is the forum number : $f";

Guest190829
08-21-2006, 12:44 AM
Try


$foruminfo[forumid]


What template are you adding this too?

Sergio68
08-21-2006, 01:56 AM
I'm trying from the admin panel to insert in the Copyright Text variable some extra HTML.

Copyright ? 1999-2006 Bodyweb.it - <br><br /><a href='feed://www.bodyweb.it/forums/external.php?type=rss2&amp;forumids=$foruminfo[forumid]'><img src='/forums/images/misc/rss2.gif' border='0' /></a><br><br />

The output url is : feed://www.bodyweb.it/forums/external.php?type=rss2&forumids=$foruminfo%5Bforumid%5D

Instead of : feed://www.bodyweb.it/forums/external.php?type=rss2&forumids=9

Is it possible to insert this in here ?

No, it's not possible, I've tried in the footer and now it's working.
Thx anyway ;)