21.05.2011, 12:18
Hello
,
i ve the following problem: i want to load 2 houses from my mysql database, but only 1 house is loading, instead of 2.
and when the second row is "fetching", a mysql error accrues in the server log.
i use strickenkid's mysql plugin.
![Cool](images/smilies/cool.gif)
i ve the following problem: i want to load 2 houses from my mysql database, but only 1 house is loading, instead of 2.
and when the second row is "fetching", a mysql error accrues in the server log.
i use strickenkid's mysql plugin.
PHP код:
Error (0): Function: mysql_store_result called when no result stored.
PHP код:
format(query, sizeof(query), "SELECT * FROM user_houses WHERE houseOwnerID > 0"); // Query is alright
mysql_query(query, -1, -1, MySQL);
mysql_store_result(MySQL);
while (mysql_fetch_row(value, "|", MySQL))
{
// ...
}