smilesmita Posted November 25, 2008 Share Posted November 25, 2008 hi there, I want to know how i can put the content from a textarea to an array on submit.Also how i can tell the array to only output first 10 words and stop? Any help would be appreciated. Thanks, s Link to comment https://forums.phpfreaks.com/topic/134270-text-area-to-array/ Share on other sites More sharing options...
Mchl Posted November 25, 2008 Share Posted November 25, 2008 Use explode function to split contents of text area into array. Use for loop to display only 10 first elements. Link to comment https://forums.phpfreaks.com/topic/134270-text-area-to-array/#findComment-699032 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.