11.11.2011, 20:31
I'm still battling to get the hang of this
I'm using Blue's MySQL Script and trying run this:
when I run it, it is giving me:
In the debug
Does anyone possibly know why or what I'm doing wrong?
I'm using Blue's MySQL Script and trying run this:
Код:
format(query, sizeof(query), "SELECT * FROM `SAMP` WHERE `playername` LIKE '%s' LIMIT 0 , 30", pname); new connection = mysql_connect(SQL_HOST,SQL_USER,SQL_DB,SQL_PASS); mysql_query(query, connection); mysql_store_result(connection); printf("%i",mysql_num_rows(connection)); mysql_free_result(connection);
Quote:
[23:01:32] CMySQLHandler::StoreResult() - No data to store. |
Does anyone possibly know why or what I'm doing wrong?