PDA

View Full Version : $logo



Forge
15-12-2007, 01:58 PM
Ok im having a mind-blank here and im sure ive done something wrong.

In the settings file the code is,

$logo = ('images/logos/easybb_red.PNG');

and the code in the other file is,

<img src="{$logo}">

But when i look on the output of this code the image link doesnt work as it is looking for

/%7B$logo%7D

How can i fix this?

Thanks +Rep

Forge
15-12-2007, 02:14 PM
Nevermind ive fixed it. Thanks anyway!

Florx
15-12-2007, 02:30 PM
I was going to suggest that you aren't echoing the html out.
e.g.


echo "<img src=\"$logo\" />";

Forge
15-12-2007, 02:36 PM
yeah i realised lol sorry i had a mind-blank moment! Its what you get when you've been up since 4am lol :P

Want to hide these adverts? Register an account for free!