0

I'm having a blog system about cars. I have two main types of articles/posts there. One type is depends on the car manufacturer.

1/Parent category-Car Manufacturer/ Sub categories- Toyota,Honda, TATA...etc

Every time when a new user register, he/she has to select his/her car from a DROPDOWN.

How can I save that(user selected car brand) in my DB according to the user? Do I need to modify my DB by adding tables? or what is the best way to save that in the DB?

1 Answer 1

0

You can update user meta either through custom code or using a plugin. Advanced custom fields will solve your issue. Check out the reference links for more info :

https://support.advancedcustomfields.com/forums/topic/how-to-use-acf-to-add-user-profile-meta/ https://www.advancedcustomfields.com/resources/how-to-get-values-from-a-user/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.