Jump to content

anyway to insert and get id back


XpertWorlock

Recommended Posts

Pretty simple and understanding.

 

I want to INSERT a row which has an ID that auto increments.

 

Is there anyway of getting that ID back without another query?

 

The only way I have thought is to automatically set the ID, but I would rather have it auto increment

 

Or... if anyone knows where I'm coming from and has a better idea, feel free to share

Link to comment
https://forums.phpfreaks.com/topic/191070-anyway-to-insert-and-get-id-back/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.