Hello
I’m trying to implement the Tagify component in my form…
(Tagify is a component which transforms an input field or a textarea into a Tags component.)
I’ve got the client side working like it should by following along with the demo, however I can’t figure out how to retrieve the tags from PHP.
The value from $_POST gives me an array of objects like this:
[{"value":"Stacking Chairs"},{"value":"Studio Monitors"},{"value":"Stunt Scooters"}]
I can’t have that to appear in my database. I expected the output to be a comma separated string instead, like this:
"Stacking Chairs, Studio Monitors, Stunt Scooters"
Am I doing something wrong, or do I need to use PHP (or JavaScript) to break up the array before sending the data to my database?