----- Original Message -----
From: "Leon Atkinson" <[EMAIL PROTECTED]>
To: "Federico Giannici" <[EMAIL PROTECTED]>; "John Coggeshall"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 7:09 PM
Subject: Re: [PHP-DEV] Generic expressions interpolation in strings


> > print <<<END
> > <table>
> > <tr><td>Name:</td><td>{$= text2html($data['name']) }</td></tr>
> > <tr><td>Address:</td><td><input type="text" value="{$=
> htmlspecialchars($data['address']) }"</td></tr>
> > </table>
> > END;
>
> Federico, you can always do this:
>

 And that's is the better and preffered way

> ?>
> <table>
> <tr><td>Name:</td><td><?= text2html($data['name']) ?></td></tr>
> <tr><td>Address:</td><td><input type="text" value="<?=
> htmlspecialchars($data['address']) ?>"</td></tr>
> </table>
> <?
>
> Cheers,
> Leon
>
Andrey


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to