That did it. I changed the extension on the index file from index.html
to index.php. This, despite it being a basic exercise, has taught me
several things and I appreciate everyones assistance.
Many thanks to everyone.
John
On Jun 29, 2004, at 9:23 AM, macmec wrote:
Shouldn't be the single quotes, that's what I use. Are you using the
extension .php on the file that you call the include from? On my
machine, running Apache, if I use the extension of .php it works, but
won't work if it's any other extension. The extension of the included
file shouldn't matter.
On Jun 29, 2004, at 09:21, Ben Miller wrote:
I usually use either:
<?php
include "navigation.txt";
or
include ("navigation.txt");
?>
The single quotes could be the problem.
macmec ~ email@hidden
This message was sent from an Apple PowerBook G4. Epitome of
creativity.
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.
References:
>php include() (From: John Crockford <email@hidden>)