Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- php include in template page


htdawg - 10:04 am on May 23, 2008 (gmt 0)


hi
I downloaded a free link directory script and modified the template
layout for my site. the script is in a folder e.g www.mysite.com/dir/

and I want to include the footer for all the pages in the /dir/ folder

I tried adding a include e.g <?php include("includes/footer.php"); ?>

and it wont show up but when I view source from the browser i can see the include code on the page (<?php include("includes/footer.php"); ?>)

I thought that you cant see php code if you view source from the browser.

does that mean there is somthing else to do to use a php include?

thanks


Thread source:: http://www.webmasterworld.com/php/3657203.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com