You will need PHP (or another server-side language) to query your database, yes - its called server-side because your database is on the server.
If you use PHP to pick everything out of your database in one go and display it in one single page and the user has to select items from that page and then whilst still on that page print off a list of the items they chose, then all of that interaction will be happening on the client.
Now if that paragraph is not true, then tell us how you see the interaction going between the server and the client.
I want to learn more about how to program PHP and use databases, so pointing me to a good book and or example will be a help for me. Since this is something my daughter wants done sooner rather than later, pointing to a pre-made solution will make her happy (I still want to learn.)
Going back to your OP, OK lets start there, you want to collect some stuff from your database.
Have you already got a database installed, and do you have some test data in it?
Do you have either mysql or mysqli extensions installed on your server?
ps to find out check the output of
This would be a good place to start php mysql tutorial