How to Use line seperator in PHP explode() function??
Moderator: General Moderators
-
velu14.cse
- Forum Newbie
- Posts: 1
- Joined: Wed Oct 27, 2010 1:08 am
How to Use line seperator in PHP explode() function??
i m using php explode function..now i m sepeating With space,but i want to seperate with New Line.....pleade do me a favour of this
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: How to Use line seperator in PHP explode() function??
New line is "\n", return is "\r". Make sure you use double quotes.
(#10850)