View Single Post
Old 08-23-2003, 05:39 PM   #6 (permalink)
bdl
Senior Contributor
 
Join Date: May 2002
Location: vta.ca.usa
Posts: 555
bdl is on a distinguished road
Quote:
Originally posted by sde
hah cool .. i have never seen that before.
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;

?>
bdl is offline   Reply With Quote