Well. I have a problem, it has to do with mysql. I know php good so im almost shure its right.
I get this error when i submit my info from signup.php3 to adduser.php3-
Warning: 0 is not a MySQL result index in /home/www/izoox.com/program/adduser.php3 on line 53
Warning: No such index in string in /home/www/izoox.com/program/adduser.php3 on line 55
lines 53 and 55 are:
$row = mysql_fetch_row(mysql_query("select tokens from users3 where username = '$referral'"));
mysql_query("UPDATE users3 SET tokens = $row[0] + 500 WHERE username ='$referral'");
i have no idea whats going on... Im probably setting up mysql wrong, please email me and help!