Hi there,
I am in need of a little help.
I am updating a form on a site an its a selfcontained mail form that once the form is posted it echo's stuff to the screen using this code.
if (mail($recipient, $subject, $msg))
echo nl2br("<b>Message Sent:</b>
Thanks for your enquiry");
else
echo "Message failed to send";
I would like it to redirect to a webpage if there are no errors so instead of getting the Message Sent...... stuff echoed to the screen, it redirects to a new page.
anyone know the line of script I am needing please.
thanks.


