note 71871 added to tutorial.useful
| From: | rfantinatcoralwooddotcom at osu1 dot php dot net | Date: | Wed, 20 Dec 2006 18:00:00 +0000 |
| Subject: | note 71871 added to tutorial.useful | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120793@lists.php.net to get a copy of this message | ||
While it's easy to get carried away mixing your logic and presentation together since it's
so easy to do, your better off using PHP within HTML only to fill in values, or include other source
files.
Keep your actual processing in separate libraries that are called before you send any headers to the
page. Try to avoid calling a script that retrieves or sets information, or manipulates it in the
middle of your HTML. You'll find it's much easier to maintain.
----
Server IP: 66.163.161.117
Probable Submitter: 198.166.47.181
----
Manual Page -- http://www.php.net/manual/en/tutorial.useful.php
Edit -- https://master.php.net/note/edit/71871
Del: integrated -- https://master.php.net/note/delete/71871/integrated
Del: useless -- https://master.php.net/note/delete/71871/useless
Del: bad code -- https://master.php.net/note/delete/71871/bad+code
Del: spam -- https://master.php.net/note/delete/71871/spam
Del: non-english -- https://master.php.net/note/delete/71871/non-english
Del: in docs -- https://master.php.net/note/delete/71871/in+docs
Del: other reasons-- https://master.php.net/note/delete/71871
Reject -- https://master.php.net/note/reject/71871
Search -- https://master.php.net/manage/user-notes.php