Answer the question
In order to leave comments, you need to log in
How to copy an auto-increment id to another field of an inserted record?
records are displayed on the page sorted by `cat_order`
users can change `cat_order` of neighboring records in order to set the desired order of output it is
necessary that when creating a new record `cat_order` contain the same number as in the auto-increment field `cat_id`
copy in the insert query and not after if not clear
Answer the question
In order to leave comments, you need to log in
RTFM https://dev.mysql.com/doc/refman/5.7/en/informatio...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question