View unanswered posts | View active topics It is currently Sat Aug 13, 2022 8:44 pm



Reply to topic  [ 1 post ] 
 Includes and such 
Author Message
Junior Member

Joined: Sun Sep 14, 2003 10:05 pm
Posts: 1
Post 
Hi I am just learning php and well i am not learning i got into this by someone saying hey do my site and I got it all done. I have cgi, php, and html pages. I wanted to go from html to php and include the header and footer i already have for the other such php pages.

I striped the file down to the middle of it where the header ends and then the footer begins.

then i did the <?php at the top and the ?> at the bottom

i placed the "include("footer.txt");" & "include("footer.txt");" in their places and I get error on the first line my normal html code is.
I only need to do this for two pages so I can manage the hyper-links in one location that is all it is for. Can anyone help me on this or if easier do it for me? Sorry dont have a whole lot of cash on this one since it was a freebie.....

Thanks for any help you can provide
Spankyxeon at msn dot com


Sun Sep 14, 2003 10:13 pm
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.