ID on a variable
#5

I don't understand of what you're trying to create.

For what I did for adding IDs is by MySQL (using mysql_insert_id), and insert it into the var.
pawn Код:
new id = mysql_insert_id();
format(msg, 5, "ID is %i", id);
So it would produce an auto-increment ID starting from 1.
Reply


Messages In This Thread
ID on a variable - by TheSimpleGuy - 26.05.2014, 07:59
Re: ID on a variable - by Rittik - 26.05.2014, 08:08
Re: ID on a variable - by TheSimpleGuy - 26.05.2014, 08:42
Re: ID on a variable - by Rittik - 26.05.2014, 08:46
Re: ID on a variable - by Zex Tan - 26.05.2014, 08:53

Forum Jump:


Users browsing this thread: 3 Guest(s)