Discussion in 'PHP' started by alphacooler, Oct 3, 2006.
I would like to wrap <li></li> tags around each newline. How would I go about this?
str_replace("\r\n", "</li><li>", "<li>".$instr."</li>"); PHP:
str_replace("\r\n", "</li><li>", "<li>".$instr."</li>");
Separate names with a comma.