Page 1 of 1

Seperating text lines in a memo

Posted: Sun Dec 14, 2003 10:03 am
by mzfp2
Hi i want to seperate the text lines in a memo (text area) field into seperate strings, and then run a update query using each string and test wether the query was succesfull, but im not quite sure how to acheive this in PHP :P

Posted: Sun Dec 14, 2003 1:35 pm
by DuFF
This can be achieved very easily. Just remember that a new line is designated by \n at the end of that line. Check out the explode function at PHP.net.