Pop-up selections values display
I am new to PHP and would like to ask if the following makes sense; that is, is this the best way to handle the requirement. I have a display that contains certain database fields, and when the user clicks a button another window will pop-up from which selections can be made. Those selections then need to be added to the first screen.
My plan is to use session data. The selections from the pop-up will be saved in sessions, and the first screen will load data from the database, and then additionally from any saved session data.
But, I donít think this will necessarily work with a pop-up. Seems like I will have to redirect to another display for selections and after selections are made (or not) the original display is also redirected to from the selections display.
Maybe PHP is not the right way to go, or is it?