Levan Posted May 30, 2007 Share Posted May 30, 2007 mysql_result error code mysql_results($resultset,0) if the resultset is empty should return an error.....however the ERROR_NO is 0 and no message is provided.... is that a bug is PHP or mysql or neither? Link to comment https://forums.phpfreaks.com/topic/53661-mysql_result-function/ Share on other sites More sharing options...
trq Posted May 30, 2007 Share Posted May 30, 2007 It returns false (0) on failure. Link to comment https://forums.phpfreaks.com/topic/53661-mysql_result-function/#findComment-265248 Share on other sites More sharing options...
Barand Posted May 30, 2007 Share Posted May 30, 2007 if the resultset is empty you should get a warning message "Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result " Link to comment https://forums.phpfreaks.com/topic/53661-mysql_result-function/#findComment-265274 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.