saving via sql
i have something like this
PHP Code:
on webpage should be something like:arrow: "list name 1" "player data for listname1" etc |
Re: saving via sql
You would need a table like this:
- listname VARCHAR(10) NOT NULL (change 10 to however long you may need the name) - listdata INT(11) NOT NULL (assumed an int based on the global variable) - authid VARCHAR(35) NOT NULL - PRIMARY KEY(listname, authid) Then you can do this: Code:
|
Re: saving via sql
i was expecting to you to answer, thanks
since i suck on sql, how to retrieve the data with this way? |
Re: saving via sql
You can use a trie to save the list name associated to its constant.
Then when you load data from the player, check the list name to the constant using the trie, then save the listdata from the table into the array. |
| All times are GMT -4. The time now is 19:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.