Hiya, im new to php and i have a simple mailing script to allow people to email me automatically from my site but i keep on getting this same error. here is my script:
<?
mail( "shanx99@hotmail.com", "shanx.co.uk Feedback Form",
$message, "From: $email", "-fuser@userdomain.com" );
header( "Location: http://www.shanx.co.uk/Paddy%20Final/thankyou.htm" );
?>
the script mails me the message each time but I keep getting this error instead of being redirected to my "thankyou" page:
Warning: Cannot modify header information - headers already sent by (output started at D:\hshome\shanx99\shanx.co.uk\Paddy Final\sendmail.php:9) in D:\hshome\shanx99\shanx.co.uk\Paddy Final\sendmail.php on line 12
If anyone can help, id greatly appreciate it 😉
David