Good day and Merry Christmas to all,
I just spent a good time of my christmas eve trying to figure out this problem. I hope one of you santas would be so kind as to help me with it.
First off I have two tables; employee and employee_works both connected via employee_id key.
Basically I have a parent window we'll call parent.php.
inside the parent page is a search button that once clicked will open a child window we'll call child.php
inside the child page is a list, lets say employees with name, employee_id, etc.
My main concern is this:
How do I populate parent.php based off the employee selection I made in the child window.
Example:
-Access parent.php
-Click on search
-Click on [iD: 004] [NAME: JOHN SMITH] [PHONE: 1233456] [DATE HIRED: JULY 16, 1992] <---format of a row in child.php
-child.php automatically closes and parent.php now shows all data from employee_works with the employee_id = 004
Is this even possible? I know this is vary vague and would be willing to explain more if needed. My website is built mostly on javascript and php.