11-11-2008, 06:36 PM
|
#6 (permalink)
|
|
The Contributor
Join Date: Oct 2008
Posts: 75
Thanks: 4
|
the top part of my code is just assigning variables to my form.
I tried out the first code you gave me
PHP Code:
elseif( mail( $recipient, $subject, $body, $header ) ) { header( 'Location: http://www.url.com/thanks.php' ); }
it sends me straight to my thanks.php whether its null or not.
The 2nd code you put is what tony suggested. which i tried and it sent me to thanks.php whether null or not.
|
|
|
|