Im making a script that show online players. I use the str_replace to show the job names(with the normal query show a number, currently incomplete im too lazy XD), but when I see a player I have a error:
[code]
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 5 in /path/to/file.php on line 35
Question
Law
Im making a script that show online players. I use the str_replace to show the job names(with the normal query show a number, currently incomplete im too lazy XD), but when I see a player I have a error:
The script is there
In the error say the line 35:
Now, I see im using a wrong function(mysql_result), what function I should use? or how to fix it
Link to comment
Share on other sites
1 answer to this question
Recommended Posts