11-11-2008, 04:52 PM
|
#1 (permalink)
|
|
The Contributor
Join Date: Oct 2008
Posts: 75
Thanks: 4
|
else problem
Anyone detect the problem here?
PHP Code:
if ($name = '' or $phone ='' or $email = '' or $message = ''){ header("Location: http://www.url.com/error.php"); } else { (mail($recipient, $subject, $body, $header)) header("Location: http://www.url.com/thanks.php"); }
I'm getting an error in the 2nd header...
|
|
|
|