everytime i try to run this it comes up with this error
Unexpected T String in line 35, 36 , 40
mysql_query("UPDATE completed SET offer_id=campid WHERE id ='".$sid."'");
mysql_query("INSERT INTO completed reward) VALUES ".$payout." * 0.5);
mysql_close();
echo "Success: ".$sid." earned ".$payout." * 0.5 points
and is referred by nobody";
There is an error on all lines expect for mysql_close(); and the rest of my code is clean what is the problem?