I have two php files: 1.php & 2.php. Inside of 2.php I have a form and there is an action button "check out". I want to perform this function, if "check out" button in 2.php was submited, some data in my 1.php will change color ...
If these happened in one file, I just need to use
if ($_POST['CheckOut'])
but right now it associates two files. Would you tell me how I can do it?
Thank you!