I can use session variables for passing values but here's the concern ive been struggling with
Once I submit the form in file2.php, how do I go back to the main.php page at the point where I broke off.
I tried using include_once and also header("location:file2.php") to break from main.php but nothing seems to work.
Is there another way I can do it or is it not possible?
PS: I dont want to make my code modular for time being. That is my last option. So with my current scenario is there a way to do it?