Please explain the include function of php in detail
What kind of documents can be included in the include function
Txt is ok can we include html documents
<? include("abc.htm)" ?>
Can we include another php fine in it
<? include("abc.php)" ?>
first thing is first.. your syntax there is wrong.. it goes
<? include("abc.txt"); ?>
and yes, you can include, txt, html, php, etc.... basically, included files will put the text in any file INTO the file you are including to .. if you include a php file, and there are php tags in the file, it will work fine ....
later...
------------------
Vinay Sahni, Coder .. specializing in php/mysql
vinay@kryogen.com
As it is slightly tidier as well as XML compliant and i believe it is also slightly faster - This is just me being picky, but hey I'm just like most other programmers who want to squeeze every last millisecond out of there code.
------------------
Karl Austin KTech Design Associates - No URL Because It's Not Finished
Bookmarks