...

View Full Version : Insert an image properly in php.



rod6
09-08-2009, 04:23 AM
This should be easy, but can't figure this out.

echo '<a href="'.$loginPost.'" class="mod_login'.$class_sfx.'">';
if ( $show_remind_register_icons >= 1 ) {
echo '<img src="modules/mod_cblogin/mod_cblogin/login.gif"></img>';
echo '<img src="' . $urlImgPath . 'login.gif" alt="' . _UE_REGISTER . '" title="' . _UE_REGISTER . '" width="25px" height="20px" style="border-width:0px;cursor:pointer;" /> ';
}

I just need to place an image from "modules/module_cblogin/module_cblogin/login.gif" right before _UE_REGISTER , but the image won't come up. What's wrong with it?

rod6
09-08-2009, 04:37 AM
The code above wasn't pointing correctly. Actually the image shows.
Thanks for looking.
:)

Rodrigo



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum