Welcome to WebmasterWorld Guest from 54.167.157.247

Forum Moderators: httpwebwitch

Message Too Old, No Replies

Parse error: syntax error, unexpected T STRING in /home

   
2:35 pm on Feb 7, 2010 (gmt 0)

5+ Year Member



I get the error Parse error: syntax error, unexpected T_STRING in /home/printt5/public_html/ptmanuals/edu/apdx-faq.html on line 1

And I dont know why a sample of my code is


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4:46 pm on Feb 17, 2010 (gmt 0)

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member



in an html file, you don't need to put an xml declaration before the doctype.

in fact, nothing should come before the doctype - not even whitespace newlines or tabs.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month