I am getting the following error:
This is the lines from the scripr:
Does anyone know how to fix this?
Thanks!
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 9 in /home/www/home.stickpay.com/members/upgrade.php on line 47
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 9 in /home/www/home.stickpay.com/members/upgrade.php on line 48
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 9 in /home/www/home.stickpay.com/members/upgrade.php on line 49
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 10 in /home/www/home.stickpay.com/members/upgrade.php on line 59
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 9 in /home/www/home.stickpay.com/members/upgrade.php on line 48
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 9 in /home/www/home.stickpay.com/members/upgrade.php on line 49
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 10 in /home/www/home.stickpay.com/members/upgrade.php on line 59
This is the lines from the scripr:
Code:
$spon = mysql_result($result,0,"userid"); $sponrang = mysql_result($result,0,"memtype"); $sponofspon = mysql_result($result,0,"referid"); if($sponrang > $memtype){ $paysponsor = "$spon"; } else{ $result = mysql_query( " SELECT * FROM members WHERE `userid` = '$sponofspon' " ); $num = mysql_num_rows($result); $spon1 = mysql_result($result,0,"userid");
Thanks!
Comment