SQL help needed for plugin
I wrote a map vote plugin that works great on my server using a local MySQL database. People posted that it would create the table for them, but that the results would not get added to the database. I used an external database from a website to test the plugin and I am getting the same results as they are. It creates the database and when the vote is it done, I am getting the "[AMXX] sql_mapvote results added to database" added to the logs, but the data is not added to the database. It is only happening on remote databases. Is there something I can do to make this work?
Code:
QR50 |
Code:
|
Responding to myself in case someone can needs this info.
I figured this out. It was a problem with pre- 4.1 MySQL databases. You have to use Code:
Instead of Code:
Suzuki TS125 DUSTER |
Be sure to dbi_free_result() on all results > RESULT_NONE.
|
|
| All times are GMT -4. The time now is 14:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.