SQL_FieldNameToNum cached value
For example i have:
PHP Code:
PHP Code:
Code:
[MySQL] Invalid column: -1 |
Re: SQL_FieldNameToNum cached value
Best:
SELECT player_value FROM ... g_iPlayerValue[ id ] = SQL_ReadResult(Query, 0) Just write all needed columns in query and then just type column number. Starts from 0. SQL_FieldNameToNum is needed to use when using '*' for columns (All columns), and you don't know order. Or for removing hardcoding. |
| All times are GMT -4. The time now is 16:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.