-2
I managed to solve the other mistakes but when I will register he gives that mistake:
Notice: Undefined variable: refid in /home/b52uyisu/public_html/Register.php on line 70
$addaccount = mysql_query("INSERT INTO members VALUES('','$username','$password','$email','$ppemail','$ppemail','$refid','0','0.00','0.00','0.00','$name','$address','$city','$zipcode','$telephone','$country','$date','$uip','$uip','0','0.00','no','./avatar.png','0','0','0','0','0','0','0','0','0','0','0','0','0','0')");
Notice: Undefined variable: refid in /home/b52uyisu/public_html/Register.php on line 76
if($refid != '') {
$qqq = mysql_query("UPDATE members SET totalrefs=totalrefs + '1' WHERE username='$refid'");
}
With a row it gets hard to guess your problem right. They may have changed the config of your server errors.
– gmsantos
$loggedin
and$aloggedin
are different names.– bfavaretto
Try to explain your problem better. Make a
var_dump($refid)
before mistakes see what happens.– Jorge B.