Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: php include()



I remember this little trick from my first readings about php. I went to the php online manual and decided that include() appears to be the function I should be dealing with. I created a file, called it navigation.txt and attempted to call it in the original page with the following command <?php include 'navigation.txt'; ?> which didn't work. I then tried
<?php include('navigation.txt'); ?> and then

Either or those should work just fine. HOW does it not work? Have you tried using an absolute path to navigation.txt?


Larry
_______________________________________________
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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.