19.08.2010, 14:24
(
Последний раз редактировалось Luka P.; 19.08.2010 в 22:10.
Причина: unlogical mistake
)
It is probably mysql_fetch_row (I don't know for the mysql_fetch_row_format function) because it allows you to set a delimiter like | when fetching a row, so for example lets say you have 'field' field in the 'table' and you would like to fetch them, it would look something like this.
Код:
mysql_query("SELECT * FROM `table` WHERE `field` = 'value';", MYSQL_RESULT_GET); // OnMysqlQuery if(resultid == MYSQL_RESULT_GET) { new buffer[128]; if(mysql_result_stored()) mysql_free_result(); mysql_store_result(); mysql_fetch_row(buffer); // buffer will be like Value1 | Value2 if(mysql_result_stored()) mysql_free_result(); }