Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2003022

Re: [PHP] classes and functions in include files From: 1LT John W. Holmes (holmes072000 <email protected>)
Date: 02/27/03

> just a fast question here.. and the lotic probably isnt to bright on my
part
> and i think i know the answer to this question too but just to make
sure...
> if you can include variables in an include file and use them outside that
> file (in the file that includes that file that is) then can you do the
same
> with classes and functions

Yes. Most people put their common functions and classes into a single file
that's included() on every other page.

---John Holmes...

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