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]
- RE: [PHP] looking for a PHP editor MR
- Re: [PHP] looking for a PHP editor Alexander Wagner
- Re: [PHP] looking for a PHP editor Alexander Wagner
- Re: [PHP] looking for a PHP editor Toby Butzon
- Re: [PHP] looking for a PHP editor Alexander Wagner
- Re: [PHP] looking for a PHP editor Brian Clark
- RE: [PHP] mixing HTML and PHP code MR
- Re: [PHP] mixing HTML and PHP code Alex Black
- Re: [PHP] mixing HTML and PHP code burk
- Re: [PHP] mixing HTML and PHP code Alex Black
- Re: [PHP] mixing HTML and PHP code Alexander Wagner
- Re: [PHP] mixing HTML and PHP code Philip Olson
- RE: [PHP] mixing HTML and PHP code MR
- Re: [PHP] mixing HTML and PHP code Hrishi
- Re: [PHP] mixing HTML and PHP code Alex Black
- RE: [PHP] mixing HTML and PHP code Antonio S. Martins Jr.
- Re: [PHP] mixing HTML and PHP code Alex Black
- Re: [PHP] mixing HTML and PHP code Jade Ohlhauser
- Re: [PHP] mixing HTML and PHP code Alex Black
- Re: [PHP] mixing HTML and PHP code Alex Black
- Re: [PHP] mixing HTML and PHP code Alexander Wagner

