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
    Regular Coder
    Join Date
    Apr 2007
    Posts
    141
    Thanks
    3
    Thanked 1 Time in 1 Post

    escape wiht <<<EOF ?

    echo <<<EOF
    <h3><?= $TEXT['welcome']?></h3>
    EOF;

    hello guys. i basically cud not display <?= $TEXT['welcome']?> using EOF ?

    what should I do then ?
    i want to escape a bunch of html . but i dont want to escape this <?= $TEXT['welcome']?> inside the html at the same time .

    what should i do ?

    any help is greatly appreciated

  • #2
    Regular Coder
    Join Date
    May 2006
    Location
    Wales
    Posts
    820
    Thanks
    1
    Thanked 82 Times in 79 Posts
    You can't you PHP within a PHP echo, change <?= $TEXT['welcome']?> to {$TEXT['welcome']}


  •  

    Posting Permissions

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