MySQL doubt
#1

Removed, Thanks
Reply
#2

http://dev.mysql.com/doc/refman/5.0/...increment.html

Quote:

CREATE TABLE animals (
id MEDIUMINT NOT NULL AUTO_INCREMENT,
name CHAR(30) NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM;

Auto increment is the one who will give your players ID.
Reply
#3

Read what he said ^ also
mysql_insert_id(); - generates ID. (SA:MP plugin)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)