Goldmember Posted December 8, 2009 Share Posted December 8, 2009 Parse error: syntax error, unexpected T_STRING in /home/xxx/domains/xxx/public_html/xxx.php on line 13 How to fix it? Thanks Quote Link to comment Share on other sites More sharing options...
premiso Posted December 8, 2009 Share Posted December 8, 2009 Well you can start by posting the line where the error occurs and 5-10 lines around it. (5 above it and 5 below it). Without seeing the actual code we cannot help you. Quote Link to comment Share on other sites More sharing options...
Goldmember Posted December 9, 2009 Author Share Posted December 9, 2009 Ok here is the code <? include("config.php"); header_top("Naujo skelbimo dėjimas, kitos paslaugos"); echo" <br /><table align=\"center\" class=\"sk\" width=\"100%\"> <tr> <td vAlign=\"top\" width=\"100%\" class=\"sk\"> <span class=\"sk\"> <div style=\"font-size: 12pt\"><b>Jeigu esi vaikinas:</b></div> Siųsk SMS žinutę su tekstu <b>".$sms_raktazodis." V</b> <i>bla bla</i> numeriu <b>".$sms_number."</b><br/> <b>Žinutės kaina:</b> ".$sms_kaina." LTL<br/> <b>Pavyzdys:</b> ".$sms_keyword." blabla, blah bla<br/> </span> </td> </tr> </table> <table align=\"center\" class=\"sk\" width=\"100%\"> <tr> <td vAlign=\"top\" width=\"100%\" class=\"sk\"> <span class=\"sk\"> <div style=\"font-size: 12pt\"><b>bla:</b></div> Siųsk SMS žinutę su tekstu <b>".$sms_keyword." bla</b> <i>blah</i> numeriu <b>".$sms_numeris."</b><br/> <b>Price:</b> ".$sms_kaina." LTL<br/> <b>Exemple:</b> ".$sms_keyword." blablu<br/> </span> </td> </tr> </table> <table align=\"center\" class=\"sk\" width=\"100%\"> <tr> <td vAlign=\"top\" width=\"100%\" class=\"sk\"> <span class=\"sk\"> <div style=\"font-size: 12pt\"><b>M+M, V+V, Porelės:</b></div> Send sms with <b>".$sms_keyword." bla</b> <i>yeah eah</i> Number <b>".$sms_number."</b><br/> <b>SMS price:</b> ".$sms_price." <br/> <b>Exemple:</b> ".$sms_keyword." LALALALAA<br/> </span> </td> </tr> </table> <table align=\"center\" class=\"sk\" width=\"100%\"> <tr> <td vAlign=\"top\" width=\"100%\" class=\"sk\"> <span class=\"sk\"> <div style=\"font-size: 12pt\"><b>Taisyklės:</b></div> <b>1.</b> SMS žinutėje draudžiama nurodyti telefono numerį!<br/> <b>2.</b> SMS žinutę siųskite iš to telefono numerio į kurį pageidaujate gauti atsakomąsias SMS žinutes ir skambučius!<br/> <b>3.</b> SMS žinutėje naudokite tik lotyniškas raides!<br/> <b>4.</b> Necenzūrinės ir nepadorios žinutės trinamos iš karto!<br/> <b>5.</b> Pinigai už paslaugas negražinami!<br/> </span> </td> </tr> </table> "; footer(); ?> Any help? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted December 9, 2009 Share Posted December 9, 2009 The point of asking you to post the code that is producing the error, is so that someone could tell you why your code is producing that error. Since you altered the code for the post and it no longer produces the error, something that you removed when you posted the code is what is causing the problem. Best guess is you had some un-escaped double-quotes in the part of the code you removed when you posted it. Quote Link to comment Share on other sites More sharing options...
Goldmember Posted December 9, 2009 Author Share Posted December 9, 2009 <?php include("config.php"); header_top("Naujo skelbimo dëjimas, kitos paslaugos"); echo" <br /><table align=\"center\" class=\"sk\" width=\"100%\"> <tr> <td vAlign=\"top\" width=\"100%\" class=\"sk\"> <span class=\"sk\"> <div style=\"font-size: 12pt\"><b>Jeigu esi vaikinas:</b></div> Siøsk SMS þinutæ su tekstu <b>" . $sms_raktazodis . " V</b> <i>bla bla</i> numeriu <b>" . $sms_number . "</b><br/> <b>Þinutës kaina:</b> " . $sms_kaina . " LTL<br/> <b>Pavyzdys:</b> " . $sms_keyword . " blabla, blah bla<br/> </span> </td> </tr> </table><table align=\"center\" class=\"sk\" width=\"100%\"> <tr> <td vAlign=\"top\" width=\"100%\" class=\"sk\"> <span class=\"sk\"> <div style=\"font-size: 12pt\"><b>bla:</b></div> Siøsk SMS þinutæ su tekstu <b>" . $sms_keyword . " bla</b> <i>blah</i> numeriu <b>" . $sms_numeris . "</b><br/> <b>Price:</b> " . $sms_kaina . " LTL<br/> <b>Exemple:</b> " . $sms_keyword . " blablu<br/> </span> </td> </tr> </table><table align=\"center\" class=\"sk\" width=\"100%\"> <tr> <td vAlign=\"top\" width=\"100%\" class=\"sk\"> <span class=\"sk\"> <div style=\"font-size: 12pt\"><b>M+M, V+V, Porelës:</b></div> Send sms with <b>" . $sms_keyword . " bla</b> <i>yeah eah</i> Number <b>" . $sms_number . "</b><br/> <b>SMS price:</b> " . $sms_price . " <br/> <b>Exemple:</b> " . $sms_keyword . " LALALALAA<br/> </span> </td> </tr></table> <table align=\"center\" class=\"sk\" width=\"100%\"> <tr> <td vAlign=\"top\" width=\"100%\" class=\"sk\"> <span class=\"sk\"> <div style=\"font-size: 12pt\"><b>Taisyklës:</b></div> <b>1.</b> SMS þinutëje draudþiama nurodyti telefono numerá!<br/> <b>2.</b> SMS þinutæ siøskite ið to telefono numerio á kurá pageidaujate gauti atsakomàsias SMS þinutes ir skambuèius!<br/> <b>3.</b> SMS þinutëje naudokite tik lotyniðkas raides!<br/> <b>4.</b> Necenzûrinës ir nepadorios þinutës trinamos ið karto!<br/> <b>5.</b> Pinigai uþ paslaugas negraþinami!<br/> </span> </td> </tr> </table> "; footer(); ?> is that better? i really need to fix it please help:) Quote Link to comment Share on other sites More sharing options...
Goldmember Posted December 11, 2009 Author Share Posted December 11, 2009 heyy! Quote Link to comment Share on other sites More sharing options...
premiso Posted December 11, 2009 Share Posted December 11, 2009 The code you posted above does not have an error in it. The error is else where, perhaps in the config.php or the header_top function. Quote Link to comment Share on other sites More sharing options...
greatstar00 Posted December 12, 2009 Share Posted December 12, 2009 do u mind tell us what is public_html/xxx.php (the xxx)? and post code in that xxx (represented) file Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.