How to get unique table id?
Hello folks. I want to made custom info. Like current score in server.
I have table row with id 24 (like example. every time then maps reload its create a new id) My code looks like that: PHP Code:
|
Re: How to get unique table id?
PHP Code:
|
Re: How to get unique table id?
Give us informations about this compiling error that you're getting.
|
Re: How to get unique table id?
Quote:
Compiling dont giving any error after update: PHP Code:
PHP Code:
PHP Code:
|
Re: How to get unique table id?
Try this.
Code:
But the real problem is in your g_hTuple. Are you sure the connection was made successfully? Also, SQL_GetInsertId will return 0 if you not use INSERT query before. |
Re: How to get unique table id?
Show full code
|
Re: How to get unique table id?
Quote:
PHP Code:
PHP Code:
|
Re: How to get unique table id?
Hm... that's weird. If you do not want to share the source code with us, I suggest you to take a look at this.
https://forums.alliedmods.net/showth...p?t=172936#SQL |
Re: How to get unique table id?
1 Attachment(s)
Quote:
Quote:
|
| All times are GMT -4. The time now is 04:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.