|
Posted by Vince Morgan on 04/30/07 04:40
"uncleclinto" <walterswebdesign@comcast.net> wrote in message
news:0ZudnX9SipOVxajbnZ2dnUVZ_vKunZ2d@suscom.com...
> Hey all,
>
> I'm a designer, not a developer, but I'm trying to learn. Anyway, I'm
> trying to get a contact form working, but apparently I have some empty
> expressions here. Of course, I don't know what the heck to put in them.
> Here's the lines in question. Any ideas other than "stick with design"
and
> some choice explitives?
>
> $_POST['email'] = preg_replace("\r", "", $_POST['email']);
> $_POST['email'] = preg_replace("\n", "", $_POST['email']);
>
> Uncleclinto
>
>
$_POST['email'] = preg_replace("/\r/", "", $_POST['email']);
HTH
Vince
Navigation:
[Reply to this message]
|