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.

 

 

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

Thanks for helping I tryed what you did but I have a little error:

 

http://www.qlikes.com/xboxlive/index.php

 

Can you go down until you see: "You have refered over 5 people!"

 

Notice how the pictures are conjested, theres meant to be a image in between the 2, named continue.png

 

Thanks

Can u tell me whats wrong this pls ;

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

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.