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
    Sep 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    adding a title tag fails

    Not sure if this will require php code or html?

    It is to be used on a php page. I
    have the following and i want to add a title to it:

    $Language['index']['gettingstarted] = "
    <br><b>M&D Free Treasure</b><br>
    M&D is a free <a href='index.php'>Treasure Map</a> set up by a few close friends";

    This currntly works but when i add a title it fails anyone know the correct way to do it please?
    within HTL this works but when i add it to my php page it fails:
    $Language['index']['gettingstarted] = "<a href="login.php" title="Free Treasure>Free Treasure here</a>";

  • #2
    Senior Coder
    Join Date
    Feb 2003
    Posts
    1,665
    Thanks
    0
    Thanked 27 Times in 25 Posts
    Your use of quotes was a bit haphazard.

    Try…
    Code:
    $Language['index']['gettingstarted'] = '<a href="login.php" title="Free Treasure">Free Treasure here</a>';


  •  

    Posting Permissions

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