21.12.2013, 18:26
Stupid me!
But why does it say Field/Row is empty even after I put mysql_store_result?
But why does it say Field/Row is empty even after I put mysql_store_result?
Код:
[13:30:56] CMySQLHandler::Query(SELECT * FROM `orgs` WHERE `ID` = '1') - Successfully executed. [13:30:56] >> mysql_store_result( Connection handle: 1 ) [13:30:56] CMySQLHandler::StoreResult() - Result was stored. [13:30:56] >> mysql_num_rows( Connection handle: 1 ) [13:30:56] CMySQLHandler::NumRows() - Returned 1 row(s) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(X) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(Y) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(Z) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(INTERIOR) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(NAME) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(COLOR) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(LEADER) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(SKIN1) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(SKIN2) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(SKIN3) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(WEAPON1) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(WEAPON2) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(WEAPON3) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:30:56] >> mysql_fetch_field_row( Connection handle: 1 ) [13:30:56] CMySQLHandler::FetchField(BANK) - You cannot call this function now. (Reason: Fields/Rows are empty.) [13:31:16] >> mysql_query( Connection handle: 1 )