Forum Moderators: coopster
Page 1: 2 forms with 1 select box each. The option values are page names (page1.php). Javascript is used to submit the form using onChange event. Form actions point to a seperate page that has the following code:
Page 2:
<?php
header("Location: /dir1/dir2/$pn.php");
exit;
?>
where $pn is the value of the <option> selected.
There's no HTML on this page.
So why am I getting "Headers already sent"?