| | |
KEEP GETTING Parse error: syntax error, unexpected T_STRING in /home/a2460084/public_
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2009
Posts: 1
Reputation:
Solved Threads: 0
KEEP GETTING Parse error: syntax error, unexpected T_STRING in /home/a2460084/public_
0
#1 32 Days Ago
IM NEW AT THIS AND I'M WORKING ON MY FIRST WEBSITE. I USED iWED AND I DON'T UNDERSTAND WHY IT WON'T WORK. WHENEVER I TRY TO OPEN IT IT SAYS: Parse error: syntax error, unexpected T_STRING in /home/a2460084/public_html/beto/index.html on line 1
html Syntax (Toggle Plain Text)
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="Generator" content="iWeb 3.0.1" /> <meta name="iWeb-Build" content="local-build-20091022" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta name="viewport" content="width=700" /> <title>Missing You</title> <link rel="stylesheet" type="text/css" media="screen,print" href="Missing_You_files/Missing_You.css" /> <!--[if lt IE 8]> <link rel='stylesheet' type='text/css' media='screen,print' href='Missing_You_files/Missing_YouIE.css'/><![endif]--> <!--[if gte IE 8]> <link rel='stylesheet' type='text/css' media='screen,print' href='Media/IE8.css'/><![endif]--> <style type="text/css"> /*<![CDATA[*/ @import "Scripts/Widgets/HTMLRegion/Paste.css"; /*]]>*/ </style> <script type="text/javascript" src="Scripts/iWebSite.js"></script> <script type="text/javascript" src="Scripts/Widgets/SharedResources/WidgetCommon.js"></script> <script type="text/javascript" src="Scripts/Widgets/Navbar/navbar.js"></script> <script type="text/javascript" src="Scripts/iWebImage.js"></script> <script type="text/javascript" src="Scripts/iWebMediaGrid.js"></script> <script type="text/javascript" src="Scripts/Widgets/HTMLRegion/Paste.js"></script> <script type="text/javascript" src="Missing_You_files/Missing_You.js"></script> </head> <body style="background: rgb(0, 0, 0); margin: 0pt; " onload="onPageLoad();" onunload="onPageUnload();"> <div style="text-align: center; "> <div style="margin-bottom: 0px; margin-left: auto; margin-right: auto; margin-top: 0px; overflow: hidden; position: relative; word-wrap: break-word; background: rgb(0, 0, 0); text-align: left; width: 700px; " id="body_content"> <div style="margin-left: 0px; position: relative; width: 700px; z-index: 0; " id="nav_layer"> <div style="height: 0px; line-height: 0px; " class="bumper"> </div> <div class="com-apple-iweb-widget-navbar flowDefining" id="widget0" style="margin-left: 35px; margin-top: 0px; opacity: 1.00; position: relative; width: 630px; z-index: 1; "> <div id="widget0-navbar" class="navbar"> <div id="widget0-bg" class="navbar-bg"> <ul id="widget0-navbar-list" class="navbar-list"> <li></li> </ul> </div> </div> </div> <script type="text/javascript"><!--//--><![CDATA[//><!-- new NavBar('widget0', 'Scripts/Widgets/Navbar', 'Scripts/Widgets/SharedResources', '.', {"current-page-GUID": "39E4CABD-105C-4012-BE22-46B54350B51B", "path-to-root": "", "isCollectionPage": "NO", "navbar-css": ".navbar {\n\tfont-family: Arial, sans-serif;\n\tfont-size: 1em;\n\tcolor: #A1A1A1;\n\tmargin: 9px 0px 6px 0px;\n\tline-height: 30px;\n}\n\n.navbar-bg {\n\ttext-align: center;\n}\n\n.navbar-bg ul {\n\tlist-style: none;\n\tmargin: 0px;\n\tpadding: 0px;\n}\n\n\nli {\n\tlist-style-type: none;\n\tdisplay: inline;\n\tpadding: 0px 10px 0px 10px;\n}\n\n\nli a {\n\ttext-decoration: none;\n\tcolor: #A1A1A1;\n}\n\nli a:visited {\n\ttext-decoration: none;\n\tcolor: #A1A1A1;\n}\n\n\nli a:hover\n{\n\ttext-decoration: none;\n \tcolor: #eee;\n}\n\n\nli.current-page a\n{\n\ttext-decoration: none;\n\t color: #fff;\n\tfont-weight: bold;\n\n}"}); //--><!]]></script> <div style="clear: both; height: 0px; line-height: 0px; " class="spacer"> </div> </div> <div style="height: 162px; margin-left: 0px; position: relative; width: 700px; z-index: 10; " id="header_layer"> <div style="height: 0px; line-height: 0px; " class="bumper"> </div> <div style="height: 1px; width: 630px; height: 1px; left: 35px; position: absolute; top: 3px; width: 630px; z-index: 1; " class="tinyText"> <div style="position: relative; width: 630px; "> <img src="Missing_You_files/shapeimage_1.jpg" alt="" style="height: 1px; left: 0px; position: absolute; top: 0px; width: 630px; " /> </div> </div> <div id="id1" style="height: 50px; left: 35px; position: absolute; top: 23px; width: 630px; z-index: 1; " class="style_SkipStroke shape-with-text"> <div class="text-content style_External_630_50" style="padding: 0px; "> <div class="style"></div> </div> </div> <div style="height: 267px; width: 644px; height: 267px; left: 23px; position: absolute; top: -106px; width: 644px; z-index: 1; " class="tinyText"> <div style="position: relative; width: 644px; "></div> </div> </div> <div style="margin-left: 0px; position: relative; width: 700px; z-index: 5; " id="body_layer"> <div style="height: 0px; line-height: 0px; " class="bumper"> </div> <div style="height: 288px; width: 346px; height: 288px; left: 334px; position: absolute; top: -102px; width: 345px; z-index: 1; " class="tinyText"> <div style="position: relative; width: 345px; "> <img src="Missing_You_files/shapeimage_2.png" alt="" style="height: 288px; left: 0px; position: absolute; top: 0px; width: 346px; " /> </div> </div> <div style="height: 288px; width: 346px; height: 288px; left: 20px; position: absolute; top: -102px; width: 345px; z-index: 1; " class="tinyText"> <div style="position: relative; width: 345px; "> <img src="Missing_You_files/shapeimage_3.png" alt="" style="height: 288px; left: 0px; position: absolute; top: 0px; width: 346px; " /> </div> </div> <div style="height: 288px; width: 346px; height: 288px; left: 334px; position: absolute; top: 135px; width: 345px; z-index: 1; " class="tinyText"> <div style="position: relative; width: 345px; "> <img src="Missing_You_files/shapeimage_4.png" alt="" style="height: 288px; left: 0px; position: absolute; top: 0px; width: 346px; " /> </div> </div> <div style="height: 288px; width: 346px; height: 288px; left: 20px; position: absolute; top: 135px; width: 345px; z-index: 1; " class="tinyText"> <div style="position: relative; width: 345px; "> <img src="Missing_You_files/shapeimage_5.png" alt="" style="height: 288px; left: 0px; position: absolute; top: 0px; width: 346px; " /> </div> </div> <div class="com-apple-iweb-widget-HTMLRegion" id="widget1" style="height: 209px; left: 200px; opacity: 1.00; position: absolute; top: 992px; width: 300px; z-index: 1; "> <script type="text/javascript"><!--//--><![CDATA[//><!-- var widget1_htmlMarkupURL = ".//Missing_You_files/widget1_markup.html"; //--><!]]></script> <div id="widget1-htmlRegion" class="html_region_widget"></div> </div> <script type="text/javascript"><!--//--><![CDATA[//><!-- new Paste('widget1', 'Scripts/Widgets/HTMLRegion', 'Scripts/Widgets/SharedResources', '.', {"emptyLook": false}); //--><!]]></script> <div id="id2" style="height: 417px; left: -3px; position: absolute; top: 511px; width: 696px; z-index: 1; " class="style_SkipStroke_1 shape-with-text"> <div class="text-content graphic_textbox_layout_style_default_External_696_417" style="padding: 0px; "> <div class="graphic_textbox_layout_style_default"> <p style="padding-top: 0pt; " class="paragraph_style">Beto Roman, <br /></p> <p class="paragraph_style"> I hope you are able to look back at this and remember all the good times we shared. I’m sorry for all the pain I’ve caused you and I hope that these wonderful memories will shine a smile on your face cutie pie. <br /></p> <p class="paragraph_style"><br /></p> <p class="paragraph_style">P.S. I miss you.<br /></p> <p style="padding-bottom: 0pt; " class="paragraph_style"> </p> </div> </div> </div> <div id="id3" style="height: 100px; left: 300px; position: absolute; top: 450px; width: 100px; z-index: 1; " class="style_SkipStroke_1 shape-with-text"> <div class="text-content graphic_textbox_layout_style_default_External_100_100" style="padding: 0px; "> <div class="graphic_textbox_layout_style_default"></div> </div> </div> <div style="height: 1201px; line-height: 1201px; " class="spacer"> </div> </div> <div style="height: 150px; margin-left: 0px; position: relative; width: 700px; z-index: 15; " id="footer_layer"> <div style="height: 0px; line-height: 0px; " class="bumper"> </div> </div> </div> </div> </body> </html>
Last edited by peter_budo; 30 Days Ago at 5:20 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)
1
#2 31 Days Ago
A) Use code tags
B) This is a PHP problem not Javascript
C)
If you're in PHP you have to echo the <?xml otherwise PHP will think you're trying to open PHP tags and parse whatever is inside.
B) This is a PHP problem not Javascript
C)
php Syntax (Toggle Plain Text)
<?xml version="1.0" encoding="UTF-8"?> // <---- this is your problem because of the <?
php Syntax (Toggle Plain Text)
<?php echo '<?xml version="1.0" encoding="UTF-8"?>' ?>
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
![]() |
Similar Threads
- Parse error: syntax error, unexpected T_STRING (PHP)
- Parse error: parse error, unexpected T_STRING in /home/content/d/r/a/dragun/html/vote (PHP)
- Parse error: syntax error, unexpected T_STRING (PHP)
- Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' (PHP)
- Help! Parse error: parse error, unexpected T_STRING (PHP)
- "syntax error, unexpected T_STRING"...? (PHP)
- Parse error: parse error, unexpected T_STRING on line 12 (PHP)
- Please Help! parse error, unexpected T_STRING (PHP)
- Parse error: parse error, unexpected T_STRING in /home/thei2k9/public_html/includes/f (PHP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: How can i build a hyperlink to bypass this js form
- Next Thread: google Search results in your site, open new window...
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate array automatically browser bug calendar captchaformproblem cart checkbox child close codes createrange() cursor date debugger dependent disablefirebug dom dropdown editor element embed engine events explorer ext file firefox focus form forms frameworks getselection google gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe images internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jsp jump libcurl maps masterpage math media microsoft object onmouseoutdivproblem onreadystatechange parent paypal pdf php player position post programming progressbar prototype redirect regex runtime safari scale scriptlets scroll search security shopping size software sql text textarea unicode web website windowsxp wysiwyg \n






