View Single Post
Old 08-23-2003, 06:01 PM   #7 (permalink)
EscapeCharacter
GNU/Punk
 
EscapeCharacter's Avatar
 
Join Date: Jul 2002
Location: stuffs
Posts: 66
EscapeCharacter is on a distinguished road
Send a message via AIM to EscapeCharacter
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.
__________________
cd /usr/ports/misc/life && make install
EscapeCharacter is offline   Reply With Quote