Jump to content

SYNTAX ERROR


Goldmember

Recommended Posts

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?  :shy:

Link to comment
https://forums.phpfreaks.com/topic/184426-syntax-error/#findComment-974105
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/184426-syntax-error/#findComment-974106
Share on other sites

<?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:)

Link to comment
https://forums.phpfreaks.com/topic/184426-syntax-error/#findComment-974265
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.