Re: Including a file with a custom function
| From: | Tyler Longren | Date: | Wed, 29 Nov 2000 01:15:47 +0000 |
| Subject: | Re: Including a file with a custom function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27734@lists.php.net to get a copy of this message | ||
Nevermind my question...I just had moment of pure stupidity. :)
Thanks,
Tyler
On Tue, 28 Nov 2000, Tyler Longren wrote:
> Date: Tue, 28 Nov 2000 19:11:46 -0600
> To: "PHP-General" <php-general@lists.php.net>
> From: Tyler Longren <tyler.longren@midiowa.net>
> Reply-To: tyler.longren@midiowa.net
> Subject: [PHP] Including a file with a custom function
>
> Hello,
>
> I've got the file named guestbook.inc. In this file, there is a function
> named show_guestbook() to show a guestbook. In books.php, I do the
> following:
>
> <?
> include("config.inc");
> include("guestbook.inc");
> show_guestbook();
> ?>
>
> When I load the page books.php, the code inside guestbook.inc is
> displayed
> on the screen. How do I get around this?
>
> Thanks,
> Tyler Longren
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>