ID: 27057 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: all PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2004-01-27 09:35:21] [EMAIL PROTECTED] Description: ------------ The documentation of mysql_data_seek() reads : === Row_number starts at 0. The row_number should be a value in the range from 0 to mysql_num_rows - 1. === However if the result set has returned 0 rows, a seek 0 will fail with an E_WARNING and FALSE returned. So, the documentation should read like : === Row_number starts at 0. The row_number should be a value in the range from 0 to mysql_num_rows - 1. However if the result set is empty (mysql_num_rows == 0) a seek to 0 will fail with an warning and false will be returned from the function. === Andrey ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27057&edit=1