Thread: else problem
View Single Post
Old 11-11-2008, 06:36 PM   #6 (permalink)
9three
The Contributor
 
Join Date: Oct 2008
Posts: 75
Thanks: 4
9three is on a distinguished road
Default

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.
9three is offline  
Reply With Quote