I am currently using MySQL. I have a table with the id field auto_increment and the imgname field containing a row that is the name of the image file.
I need to generate the "imgname" value using the auto_increment value that is generated using the INSERT INTO statement. The problem is that I do not know this value until I can use mysql_insert_id AFTER the insert request has been started. I would like to know if it is possible to access this value DURING an insert request anyway, and then use it to generate my string in the request.
Thanks in advance.
source share