Problem with Loop/Mysql
#1

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.

PHP код:
Error (0): Function: mysql_store_result called when no result stored
PHP код:
format(querysizeof(query), "SELECT * FROM user_houses WHERE houseOwnerID > 0"); // Query is alright
mysql_query(query, -1, -1MySQL);
mysql_store_result(MySQL);
while (
mysql_fetch_row(value"|"MySQL))
{
     
// ...

Reply
#2

Push! :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)