Post and get at the same time in php
You cannot do a GET and POST at the same time.
Combine the two forms into one.
For example combine the forms to one 'post' form. In your code extract whatever you need from $_POST.
And 'YEAR' does not equal 'Year', your sample code also needs work.
You can only have one verb (POST, GET, PUT, ...) when doing an HTTP Request. However, you can do
<form name="y" method="post" action="y.php?foo=bar">
and then PHP will populate $_GET['foo']
as well, although the sent Request was POST'ed.
However, your problem seems to be much more that you are trying to send two forms at once, directed at two different scripts. That is impossible within one Request.