Hello MYSql Lovers,
Is there a handy way (using PHP) to determine the value of an auto-
increment field when I am going to
insert a record into a table?
by this I mean, without counting the records in the table already and
adding 1? or using MAX(id) + 1 ,etc?
A more challenging question (for me at least), suppose I have an empty
table with an auto-increment field (id),
and I am going to insert all the files in a given directory in the the
database table, at insert time, is there a way I can predict (or know)