View Single Post
  #1 (permalink)  
Old Jan 20th, 2007, 05:56
ppgpilot ppgpilot is offline
Junior Member
Join Date: Mar 2006
Location: usa
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
eref, textarea, line breaks


my ereg code works well until it encounters a line break, then will not resolve the string. Take a look and see if you can find a solution...

if(!ereg("^([a-zA-Z0-9_\.!#\$&\*\+\=\(\)-:\"\', /\\%])*$", $notes))
This is the "notes" text that goes into the textarea textarea text:

This is the text that goes into the textarea to:

1) see if it works
2) see what it looks like
3) quit this part of the script

so that is it for now you guy's! end


Thanks for your help!!

David
Reply With Quote