Welcome to WebmasterWorld Guest from 54.156.78.4

Forum Moderators: open

Message Too Old, No Replies

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

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

New User

5+ Year Member

joined:Feb 7, 2010
posts:3
votes: 0


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)

Senior Member from CA 

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

joined:Aug 29, 2003
posts:4061
votes: 0


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members