0

I have a problem, how to display the image and the url stored in the destination database.
This my format code :

This code is stored in the database
like this

<a href=\"<?php echo get_settings(\'home\'); ?>\" 
style=\"border:0;\">
<img src=\"<?php echo get_bloginfo(\'template_directory\');?>/banner/728x90.JPG\"
width=\"728\" height=\"90\"/>
</a>

I called using:

stripslashes(get_option("bh"));

<a href="<?php echo get_settings('home'); ?>"  style="border:0;">
<img src="<?php echo get_bloginfo('template_directory');?>/banner/728x90.JPG" width="728" height="90"/>
</a>

$bh = html_entity_decode(get_option("bh"));

\" style=\"border:0;\"> /banner/728x90.JPG\" width=\"728\"
height=\"90\"/>

until now still can not bring the image into the browser display

4
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by dany12
0

So, have you tried the link formed by get_bloginfo('template_directory') and /banner/728x90.JPG? Do you get relative or absolute path?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.