Jump to content

Parse error: syntax error, unexpected T_STRING in


Anthony1994

Recommended Posts

Could anyone please help me with thiss error:

 

Parse error: syntax error, unexpected T_STRING in /home/a2256639/public_html/xboxlive/index.php on line 143

 

Line 143:

 

echo (">You have refered over 5 people!<br /><img src=\"images/24-0.gif\"/><img src=\"images/continue.png\"/><img src=\"images/24-0.gif\"/></a><br />");}

<?php
		$refSystem1 = mysql_query("SELECT COUNT(ref_id) FROM referralsystem WHERE ref_id='".$uId."'") or die("Error in ref :".mysql_error());

		$rowRefSystem1 = mysql_fetch_array($refSystem1);

		if($rowRefSystem1[0] > 0){echo ("<br /><a href='Scr2.php?Ref=");
		echo ($rowRefSystem1[0]);
		[b]echo (">You have refered over 5 people!<br /><img src=\"images/24-0.gif\"/><img src=\"images/continue.png\"/><img src=\"images/24-0.gif\"/></a><br />");}[/b]

	?>

 

 

I want a few pictures to display when they've reffered 5 people. Please help me thanks.

 

 

Link to comment
Share on other sites

Ok,

<?php
$refSystem1 = mysql_query("SELECT COUNT(ref_id) FROM `referralsystem` WHERE `ref_id` = '".$uId."' ") or die("Error in ref :".mysql_error());

$rowRefSystem1 = mysql_fetch_array($refSystem1) or die(mysql_error());

if($rowRefSystem1[0] > 0){
   echo "<br /><a href=\"Scr2.php?Ref=\"".$rowRefSystem1[0]."\">You have refered over 5 people!<br /><img src=\"images/24-0.gif\" /><img src=\"images/continue.png\" /><img src=\"images/24-0.gif\" /></a><br /> ";
}
?>

 

That'll do ya!

 

Rw

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.