Can anyone help me. I don't know if this is a mysql, php or Google Chrome error.
I have a login form but for some reason I'm getting an error when I use Google Chrome. It used to work in all browsers (IE, Firefox, Safari, Opera, Google Chrome) but for some reason it has stopped working and Google Chrome. I assume it has something to do with me upgrading to Windows 7.
The error is this:
Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 30 in /server path/file.php on line 26
The code around this is as follows (line 26 is the second line):
Is there something I'm doing wrong. I've had problems with Google Chrome before that I had to fix.
I have a login form but for some reason I'm getting an error when I use Google Chrome. It used to work in all browsers (IE, Firefox, Safari, Opera, Google Chrome) but for some reason it has stopped working and Google Chrome. I assume it has something to do with me upgrading to Windows 7.
The error is this:
Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 30 in /server path/file.php on line 26
The code around this is as follows (line 26 is the second line):
Code:
$result = mysql_query("SELECT [I]variable[/I] FROM [I]table[/I] WHERE [I]field[/I]='[I]value[/I]'");
$_SESSION['[I]name[/I]']=mysql_result($result, 0);
Comment