I have a PHP/MYsql question.
I am trying to insert a new row after each comma.
Basically, I want this function:
Let's say we have a textbox with the following text:
Basketball, Tennis, Futbol, Volleyball --> Submit Button
After the submit button is clicked, I want to Insert a new row in one table after each word.
Basically, I want the outcome in the DB like this
id category
1 Basketball
2 Tennis
3 Futbol
4 Volleyball
Anyone can help me with this ?
thanks :)