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
This is very common problem in php. some ways to sort out:
use on top of the page.
check if you accidentally add some white spaces before the php open tag or after the php closed tag.
if still not solve, use java-script window.location instead of header.
Hope it help. Happy coding!!