select not saving the right value
Ello! right now he is saving the id of the category but it needs to save the category and then the name,
Solution
That's because you just plucked the name and not the
id. It doesn't even have an ID.