Conover, Ryan wrote:
> I have an include file foo.inc. I want to call a function that is in
> another include file,say anotherfoo.inc, from the foo.inc.
[..]
> can I call an include from another include?
Sure.
> I tried the above but it fails opening the other include.
>
> Should I have the
> ' "include"c:\\...\\anotherfoo.inc" '
> in the file that includes the Foo.inc?
No, you can include what and where you want (provided it's valid PHP),
but if you use relative paths, the paths all have to be relativ to the
original file, the file that is called by the browser (or whatever you
use to call your scripts).
regards
Wagner
--
Three may keep a secret, if two of them are dead.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]