Hi
In my php web aplication i do need to
simulate an auto_increment field
(because i can not have two auto fields on the same table)
I my research i found this code :
SELECT @NextId := (MAX(id)+1) FROM Table
INSERT INTO Table (id) VALUES (@NextId)
what is the @NextId ?
why is it assigned with this operand := ?
Is it a mysql variable?
can i receive this value in a php variable?
Thank“s in advance