error in admin.amxx
Hi all, so I wrote this script:
Code:
query = SQL_PrepareQuery(sql, "SELECT ...", ip, port)Here he writes: Code:
L 09/27/2012 - 20:33:55: [MySQL] Invalid column: 6 |
Re: error in admin.amxx
You have the answer in the error. "Invalid column". You're trying to read results from column that doesn't exist, make sure its created correctly.
|
Re: error in admin.amxx
So I did this:
Code:
new qcolAuth = SQL_FieldNameToNum(query, "username")Quote:
|
Re: error in admin.amxx
SQLx numbers the columns starting at 0, yes
|
| All times are GMT -4. The time now is 08:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.