Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2009
    Posts
    26
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Question Insert an image properly in php.

    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;cursorointer;" /> ';
    }

    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?

  • #2
    New Coder
    Join Date
    Jul 2009
    Posts
    26
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Solved

    The code above wasn't pointing correctly. Actually the image shows.
    Thanks for looking.


    Rodrigo


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •