Re: R: [PHP-WIN] Two questions
| From: | andy at mekong dot southcom dot com dot au | Date: | Thu, 18 Jan 2001 13:35:51 +0000 |
| Subject: | Re: R: [PHP-WIN] Two questions | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5095@lists.php.net to get a copy of this message | ||
> The second question sound strange:
> try:
> <?php
> include("myinc.php") /* think double quotes are needed */
> ?>
>
> <?php
> myfunc(); /* myfunc defined in myinc.php */
> ?>
>
> <b>Normal HTML stuff goes here</b>
> <?php
> myfunc();
> ?>
Silly me: First I forgot those quotes when I was typing the example, and then I
realised what was going wrong -- nothing with PHP, just my own density: the
function myfunc() output the </body> and </html> tags, which caused the browser
to stop rendering.
Anyway, thanks for your help.
---------------------------------------
This message was sent mekong webmail.
https://mekong.southcom.com.au/mailman/