note 29958 rejected from language.basic-syntax by rasmus
| From: | rasmus@php.net | Date: | Fri, 30 May 2003 17:54:20 +0000 |
| Subject: | note 29958 rejected from language.basic-syntax by rasmus | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-49440@lists.php.net to get a copy of this message | ||
Note Submitter:
----
11-Oct-2001 01:34
I use FrontPage 2000 exclusively for creating my PHP documents. I use the <% %> style syntax.
I can put code anywhere, before head (as is required for cookie data) and anywhere else in between.
Using advanced flow control, i can design an entire page in html, and then put PHP control
statements around it. This is much easier than <% echo %> commands. You can drop in/out of
PHP at ANY time, and the only reason to ever use <% echo %> is for variables. Save yourself
some hassle and write your html in html and avoid the echo mess.