I want to put all words of a string in different rows of a table in mysql. for example.
$mystring="this is an ugly string"
i want to put in mysql table like
id word
1 this
2 is
3 an
4 ugly
5 string
i think first i have to use explode function then use for each loop, but im not able to write the correct sytax, can someone help me with the syntax please ?
Thanks





Bookmarks