multile echo help

Discussion in 'PHP' started by Zoro, Apr 14, 2007.

  1. #1
    I write wrong title :D
    multiline echo ;)

    I need a little help...
    I'm editing template for e107.

    <div class='disclaimer'>
    {SITEDISCLAIMER}
    HERE
    </div>";

    When i add text template works ok and text is loaded. But when i use hyperlink or something i get error. I guess that i need to use echo.

    I try for each line echo but i get the same error again and again. I try multiline echo <echo> & </echo> but i still got the same problem.

    Does anybody have any suggestion? :(
     
    Zoro, Apr 14, 2007 IP
  2. bobby9101

    bobby9101 Peon

    Messages:
    3,292
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #2
    wow, don't try to take on too much if you are really really new.
    But anyway:
    echo "
    <div class='disclaimer'>
    {SITEDISCLAIMER}
    <a href=\"http://google.com\">Google</a>
    </div>
    ";
    PHP:
     
    bobby9101, Apr 14, 2007 IP
  3. Zoro

    Zoro Active Member

    Messages:
    167
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #3
    hehe thanks..
    I'm new in php. I like to take a big piece of cake :)
    I will try it

    ---------- EDIT
    It was a bit more complicated but now works...
    I did it with <echo>

    Thanks on your help
     
    Zoro, Apr 14, 2007 IP