Query about this forum's new tpoic

admin

Administrator
Staff member
I see each new topic to this forum has the 2 properties of "id" and "thread",
while using query like below (Database-MYSQL):
insert into contens (id, col2, col3,...,thread, col-others) values
(0, col2-value,col3-value, ...,thread_valule, col-others-valule);
the id is auto_increment.
I know the thread value should be as same as the id's value, but I don't know how to get the thread's value in this "insert into" command ?

Thanks!
 
Back
Top