![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| I'm not quite sure I understand your question, but I think you may be talking about the include function. If, say, you wanted to include a footer file at the bottom of every page, you would have to make the following function call: <? include "footer.php"; ?> |
| |||
| Big Vern and Smaaz both said it. If you want to insert the contents of another file into the PHP file you're editing, use either Code: include("path/to/file");
Code: require("path/to/file");
__________________ I'd explain it to you; but your head will explode. |
| |||
| Quote:
you mean, include or require function are same. but a little bit difference is there. we can use anyone anytime. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| does live.com crawl sitemap.xml files? | *Anjali* | MSN / Live.com | 4 | 09-30-2007 07:48 AM |
| How to parse .htaccess files as PHP? | James L. Dean | Web Hosting | 2 | 05-02-2007 02:32 AM |
| In PHP, what function do you use to incorporate the name of files into PHP files? | czjdell | PHP | 1 | 04-22-2007 04:23 PM |
| Why does Webtrends not pick up my files? | vjvishy | Web Hosting | 1 | 03-09-2007 06:50 PM |
| Should AVG anti virus be set to scan "all files or scan infectable files ? | juneja | General Discussions | 9 | 02-12-2007 09:05 PM |