Hi Peter
It's something like this...
javascript function "GoPage()" at the top
(this function loads the selected page)
then in the main part of the program you get the select menu with....
echo "<select name='selector' onchange='GoPage()' onblur='return options[0].selected = true'> \n";
just after
echo "</select> \n";
I have defined the submit button with name= 'submit'
and then....
if($submit)
{
Header("Location: ./$selector");
}
Peter Be wrote:
Show us the code where you use header.
I hope that you have this in a seperate page, other than the one that was JavaScript dependent.
The error means that you have sent something to the browser before header is being used.