justsomeguy Posted April 17, 2007 Share Posted April 17, 2007 You can learn about regular expressions in PHP here:http://www.php.net/manual/en/ref.pcre.phpOr do a Google search for regular expressions. Link to comment Share on other sites More sharing options...
smiles Posted April 18, 2007 Share Posted April 18, 2007 thanks you very much !!! I will do research on it Link to comment Share on other sites More sharing options...
reportingsjr Posted April 18, 2007 Share Posted April 18, 2007 Wow, all you need for this is to use nl2br (new line to break). Haha, no string replaces . But you should only use it when echoing out, as every time the person edits it will add a new break, so you end up with large spaces. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now