> -----Original Message-----
> From: Jeff Moser [mailto:[EMAIL PROTECTED]
> Sent: 03 July 2003 13:07
> 
> So...why not write the entire included file as a function and 
> then call that
> function instead of using include? I'd be interested, though, 
> to hear if the
> return broke out of the include.

Well, it damn well better, as the manual page at http://www.php.net/include says it 
does! (You can return a value, as well, if you really must.)

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

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

Reply via email to