Home
Links
Album
Books
Code Library
SOHAIL ABBAS GONDAL
PERSONAL WEB SITE
PHP Code Snippets
Back
Visits :74
set each line of textarea to element in an array
Copy code below.
I was thinking of essentially the same thing, but also trying to figure out how to handle the fact that I'm not sure which browser/OS combinations might send "rn", "n", or "r"; so I came up with: $array = preg_split("/[rn]?[rn]/", $_POST['textarea'], -1, PREG_SPLIT_NO_EMPTY);
Contact Information
Lahore, Pakistan.
Cell: +923217980713
+923018444723
Email: sabbas44@gmail.com
Download Resume
Menu
Home
Links
Album
Books
Code Library
Search