i need little php job the script have to be this i thraw to the text areaa words like: "text 123 , text 345 , text 123 , text 345 , text 123 , text 345 , text 123 , text 345 , text 123 , text 345 , text 123 , text 345 , text 123 , text 345 " and the script have to make ever "," to anohter line like this: text 123 text 345 text 123 text 345 text 123 text 345 (in html is to convet "," to <br>) but in php i dont know to do this. so i want this little script pm me or my gmail is
<?php $words_list=file_get_contents('wordslist.txt') // if you don't have the words in a txt file then just write $words_list='......the list.........'; $words_list=str_replace(' , ','<br>',$words_list); echo $words_list; ?> PHP: You're welcome.