21.04.2012, 09:52
1)
`ID` is column in which ID is stored, `Accounts` is table where IDs are stored. Change them to your own.
2) To get auto increse on each new row, make column ID in Table and select AUTO_INCREMENT. It will put number one time higher than last one on each row entry.
pawn Код:
SELECT `ID` FROM `Accounts` ORDER BY `ID` DESC LIMIT 1
2) To get auto increse on each new row, make column ID in Table and select AUTO_INCREMENT. It will put number one time higher than last one on each row entry.