Posts: 1,174
Threads: 251
Joined: May 2012
Reputation:
0
Hello everybody, I have problem with something, I created Load and save system for my house system which is using mysql, and now, house is loaded how do I create stock which will check which is house ID? How should I code it? I check few scripts but I don`t get it. Can anyone explain me a little bit?
Posts: 420
Threads: 6
Joined: Dec 2013
Reputation:
0
You should have a hID in your enum.
And also you should have an A_I row for the ID to save and automaticly get a higher value than the old one when creating a house.
You load your ID from MySQL
Posts: 1,174
Threads: 251
Joined: May 2012
Reputation:
0
Ok, I load but how should I get index for my array?