Hi All,
I hope the weather is as good there as it is here.
I am a bit of a noob to PHP and webdesigning and trying to change my index.html to index.php.
The reason I am doing this is that I want to manage my navigation bars in other nav.php file which will be great as I just change one page and it updates all the other nav bars on my other pages.
I have got that working great, but have another problem.
When I took my index.html off my server and replaced it with my index.php I got the following error
Quote:
|
Parse error: syntax error, unexpected T_STRING in /home/thaidisc/public_html/index.php on line 1
|
In line one of my index.php I have
Quote:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
Now I am guessing this is a problem, so how would I correct this?
|