How to insert a link in Php programming

Discussion in 'Programming' started by matwan, Sep 4, 2013.

  1. #1
    hello,

    i need a help.

    i want to insert a link in this php code and the link (Watch 3D Movies Online) beside the word Powered by.The link go to one of my movie sites.Please look at the code below:

    <!-- Footer -->

    <footer id="footer">

    <span class="left-footer">

    &copy; <?php echo date("Y");?> <a href="<?php print $config->site->url; ?>"><?php print $config->site->name; ?></a>

    <br />Powered by <a class="signature" href="<?php print $config->core->url; ?>"> <?php print $config->core->name; ?> v<?php print $config->core->version; ?></a>



    </span>

    <span class="right-footer">

    <a href="http://www.youtube.com" target="_blank" title="This application utilizes Youtube API"><img src="<?php print $config->site->url; ?>/tpl/images/ytp_powered_by.png" border="0"/></a>



    </span>





    </footer>

    Need your help.Thank you.
     
    matwan, Sep 4, 2013 IP
  2. Active Build

    Active Build Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #2
    http://www.w3schools.com/html/html_links.asp
     
    Active Build, Sep 4, 2013 IP
  3. topcoder

    topcoder Well-Known Member

    Messages:
    125
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    138
    #3
    Just add
    <a href="3dmoviewebsite" style="font-weight:bold">Watch 3D Movies Online</a>
    HTML:
    Under
    <br />Powered by <a class="signature" href="<?php print $config->core->url; ?>"> <?php print $config->core->name; ?> v<?php print $config->core->version; ?></a>
    HTML:
     
    topcoder, Sep 4, 2013 IP
  4. matwan

    matwan Member

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    it is worked.thanks,brother.
     
    matwan, Sep 6, 2013 IP