note 21313 added to function.include
| From: | ozlink_at_myoffice.net.au@php.net | Date: | Wed, 08 May 2002 05:58:47 +0000 |
| Subject: | note 21313 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30316@lists.php.net to get a copy of this message | ||
INCLUDING FILES:
For those not into C++ or parse errors
Below you can see the parenthesis in the "main" file
and the parenthesis in the "include" file. "main" file
and "include" file contents are depicted by [ ]
main[ { [ {include} ] } ]main .. correct way
main[ [ {{include} ] } ]main .. expect "parse error"
Parenthesis must be equal in both files.
Same rules apply for an "include" inside an "include".
Brian
--
http://www.php.net/manual/en/function.include.php
http://master.php.net/manage/user-notes.php?action=edit+21313
http://master.php.net/manage/user-notes.php?action=delete+21313
http://master.php.net/manage/user-notes.php?action=reject+21313