On Wed, 22 May 2002, Sqlcoders.com Programming Dept wrote:
> When you include information from an include file, PHP treats the text as
> inline code if you use the include() function.
> 
> In other words, if you use code like this:
> <?php
> include 'file.php';
> ?>
> 
> Then any functions inside file.php will be available just as if you'd
> copy/pasted them in.
> 
> If file.php contained:
> function echoThis($this_text){
>     echo($this_text);
> }

Just make sure your included file also starts with <? and ends with ?>

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to