Quote:
Originally posted by bdl
Yeah, I've used it in several places to avoid matching quotes problems, although you're still in PHP mode, so it's only saving time if you have alot of vars or array values to echo. Not meant to be used as a substitute for exiting PHP and just doing straight html tags, in other words.
I've also seen something like this done:
PHP Code:
<?
$table = <<< END
<table>
<tr>
<td>some data</td>
</tr>
</table>
END;
echo $table;
?>
|
wow cool never knew you do that.