Ok, I wrote this script with a simpel errorhandling. To display the errors, I give values to a variabel and in my html I got this piece of code:
<?=$errormessage?>
Now, when I try to submit, php shows this error:
Warning: Cannot modify header information - headers already sent by (output started at /data/village/oneduffless/oneduffless_levillage_org/www/poll ontwerp tshirts/ontwerppoll.php:7) in /data/village/oneduffless/oneduffless_levillage_org/www/poll ontwerp tshirts/ontwerppoll.php on line 56
I know when using headers nothing may be printed to the screen. But I used this same structure before and it worked fine. Could anyone give me a hand with this? Thanx!!
I attached the script. (the file that doesn't work is ontwerppoll.php)