There is a page php1.php having a form with two select box , the action of this form is php2.php.
On php2.php i have another form whose action is that same page(php2.php) .
According to the options selected on the php1.php page i have made my update queries on the php2.php
The update query is working properly , but when i update php2.php generates notice about those two variables that i get from php1.php , saying undefined index.
So how to deal with it.
In my situation it is mandatory that the second form on php2.php have the action the page itself.
So is there any way like storing the variables from php1.php in session or something like that.