...

View Full Version : escape wiht <<<EOF ?



likon
05-10-2008, 03:43 AM
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

Mwnciau
05-10-2008, 04:02 AM
You can't you PHP within a PHP echo, change <?= $TEXT['welcome']?> to {$TEXT['welcome']}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum