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 3 of 3

Thread: echo a link

  1. #1
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts

    echo a link

    can someone tell me how to write a link in php?

    here is the way i tried:
    Code:
    link("<a href=""insert.htm"">Add new</a>");

  • #2
    New Coder
    Join Date
    Mar 2008
    Location
    Somerset, England
    Posts
    93
    Thanks
    0
    Thanked 10 Times in 10 Posts
    PHP Code:
    <?php
    echo '<a href="insert.htm">Add new</a>';
    ?>

  • Users who have thanked RMcLeod for this post:

    jarv (05-13-2008)

  • #3
    Regular Coder
    Join Date
    Sep 2007
    Location
    Grahamstown, South Africa
    Posts
    237
    Thanks
    6
    Thanked 17 Times in 17 Posts
    Wow, low level question. Right here.... ;-)

    Have a look online for PHP tutorials and suchlike.
    http://www.google.co.za/search?q=PHP+tutorials


  •  

    Posting Permissions

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