If condition for moving to another page

Good day!
I want to know what is wrong in my code that's why when i choose in select option it did not go to another page...Like when I select "Incoming" nothing happen also when I choose "Outgoing" nothing also happen.
Here is my code:

And when I choose Incoming and I press submit button the output is:
Incoming
1
Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\OJT\mae_ann\index.php:9) in D:\xampp\htdocs\OJT\mae_ann\index.php on line 17
Thank you