airdee Posted November 13, 2006 Share Posted November 13, 2006 just a quick question. how can i insert the current id (which is set to auto increment) to the same row? thanks a lot! Link to comment https://forums.phpfreaks.com/topic/27087-insert-id-on-current-row/ Share on other sites More sharing options...
btherl Posted November 14, 2006 Share Posted November 14, 2006 From memory, you should insert null into the auto-incrementing column. Or you can just not specify it in the list of columns. Link to comment https://forums.phpfreaks.com/topic/27087-insert-id-on-current-row/#findComment-124342 Share on other sites More sharing options...
fenway Posted November 15, 2006 Share Posted November 15, 2006 Just leave out the column itself in the column list, and hence don't specify a value, either. Link to comment https://forums.phpfreaks.com/topic/27087-insert-id-on-current-row/#findComment-125105 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.