Alex Black wrote:
> echo "<input type=\"text\" name=\"hello\" size=\"20\"
> value=\"$value\">"
>
> starts to make you insane.

If it is done wrong spread over the whole project hidden between lines 
of PHP-code, it sure does.

> speaking as an html author, and a lover of php, _please_:
>
> <input type="text" name="hello" size="20" value="<?=$value?>">
>
> it makes the code useable.

No.

<input type="text" name="hello" size="20" value="{value}">

makes the code usable, and your HTML can even be edited with a 
graphical HTML-editor.

There is no reason to mix up HTML and PHP, except for very small 
projects.

regards
Wagner

-- 
Sanity is calming, but madness is more interesting.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to