The brand form is working to an extent, it allows a user to input data but doesn't allow them to pick from existing categories, the form also doesn't check for unique names and throws an error if the name is already taken instead of just adding the brand to the user. The user also isn't added to the brand whether or not it exists and needs to be added.
[x] List categories in drop-down menu
[x] Check if submitted brand exists
[x] Create brand name check - insert if doesn't exist
[x] Update brand_user table to Assign user to brand
The brand form is working to an extent, it allows a user to input data but doesn't allow them to pick from existing categories, the form also doesn't check for unique names and throws an error if the name is already taken instead of just adding the brand to the user. The user also isn't added to the brand whether or not it exists and needs to be added.