I im trying to redirect to my homepage after submitting a message on my contact form, the form sends the email but I get this message:
Array ( [name] =&g
What the echo "<pre>"; print_r($_POST); is for ?
echo "<pre>"; print_r($_POST);
Your redirection may happen before any echo function is called, no ?