note 24961 deleted from tutorial.useful by alindeman
| From: | alindeman@php.net | Date: | Sat, 03 May 2003 13:12:31 +0000 |
| Subject: | note 24961 deleted from tutorial.useful by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-47420@lists.php.net to get a copy of this message | ||
Here's one way to think of PHP:
1. Your file contains HTML with PHP code in it
2. The special stuff starts with '<?' and ends with '?>'
3. The PHP engine replaces the contents of the special tags with
the results of executing the code
But here's another way to think of it:
1. Your file contains PHP code with HTML in it
2. The special stuff starts with '?>' and ends with '<?'
3. The PHP engine turns the special tags into 'echo' statements
and the executes the code