trq Posted June 9, 2009 Share Posted June 9, 2009 It explodes the string contained within $_POST['textarea'] by the newline character into an array. Quote Link to comment Share on other sites More sharing options...
ollie007 Posted June 9, 2009 Author Share Posted June 9, 2009 haha i think i get it lol explode removes !!! $post = explode("\n", $post); removes the space? or linebreak? $post = explode(",", $post); removes the comma and adds to the array? Quote Link to comment Share on other sites More sharing options...
trq Posted June 9, 2009 Share Posted June 9, 2009 $post = explode("\n", $post); removes the newline and adds whatever is on each side of it to the array. $post = explode(",", $post); removes the coma and adds whatever is on each side of it to the array. Quote Link to comment Share on other sites More sharing options...
ollie007 Posted June 9, 2009 Author Share Posted June 9, 2009 ty all much better than reading from the website lol. took a while but we got there !! Quote Link to comment Share on other sites More sharing options...
trq Posted June 9, 2009 Share Posted June 9, 2009 much better than reading from the website lol. You have to be kidding me? Learning to use the manual is a must for anyone planning on getting anywhere with programming. Quote Link to comment Share on other sites More sharing options...
ollie007 Posted June 9, 2009 Author Share Posted June 9, 2009 i only need specify areas lol Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.