[email protected]
New member
I have just finished up with a lot of website scripts, and it's about time to test it. Of course, I created a layout for it, and instead of putting layout text on 77 pages of scripts, I created 3 other pages. One called connect.php, one called header.php and one called footer.php. I have other folders that each of those go into. For example footer themes. I have this as well in the header (header themes directories that it goes into from the header.php scripting).
I know how to include php inside of another script. By doing the
<?php
include('header.php')
?>
The header works PERFECTLY fine...As well as the connect.php. I've never had any problems with this. But every time I try to put it at the bottom of the script...For example, I am trying to add the footer to the bottom of the index page script...I go to the page, and it says:
Parse error: parse error in
D:\wamp2-0\www\NewGameTesting\index.php on line 63
As you can see, I'm using WAMP 2...PHP5...Apache....MySQL.
Is there a reason why this is not letting me include another script page at the bottom? (I also tried putting it at the top..haha...still didn't work)
I know how to include php inside of another script. By doing the
<?php
include('header.php')
?>
The header works PERFECTLY fine...As well as the connect.php. I've never had any problems with this. But every time I try to put it at the bottom of the script...For example, I am trying to add the footer to the bottom of the index page script...I go to the page, and it says:
Parse error: parse error in
D:\wamp2-0\www\NewGameTesting\index.php on line 63
As you can see, I'm using WAMP 2...PHP5...Apache....MySQL.
Is there a reason why this is not letting me include another script page at the bottom? (I also tried putting it at the top..haha...still didn't work)