If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

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.

I thought about that (is that Ajax?). But not really. The selection would come from a pop-up screen that lists available selections. Then, when that window closes the items selected would be added to the first screen displayed.