Re: [PHP] Re: Arrrr The Space is gone.

2002-01-26 Thread CC Zona
In article <004d01c1a6f2$cb909070$0401a8c0@philip>, [EMAIL PROTECTED] (Philip J. Newman) wrote: > This returns an error > > $q=preg replace("/[^ \w]/","",$q); > > Parse error: parse error in d:\hosting\http\philipsdomain\config.php on line > 41 > > Suggestions? I think ezmlm must strip under

Re: [PHP] Re: Arrrr The Space is gone.

2002-01-26 Thread Philip J. Newman
ay, January 27, 2002 6:15 PM Subject: [PHP] Re: A The Space is gone. > In article <002801c1a6ed$1a9c10a0$0401a8c0@philip>, > [EMAIL PROTECTED] (Philip J. Newman) wrote: > > > $q=preg replace("/[ \W]/","",$q); > > > > I have this to remove

[PHP] Re: Arrrr The Space is gone.

2002-01-26 Thread CC Zona
In article <002801c1a6ed$1a9c10a0$0401a8c0@philip>, [EMAIL PROTECTED] (Philip J. Newman) wrote: > $q=preg replace("/[ \W]/","",$q); > > I have this to remove all the bad things, but it takes out the space to ... > )o; why? There's a space in your character class, so of course it will be among