Reading in mysql data with a combobox

Hi,

This is what I’m trying to do:

  • Making a small sql database books, with a few books and their authors in it.
  • A page with a combobox showing the authors, and if you select an author a table appears with all of the authors books

I have to make the connection to the mysql database with PDO.

Can anyone help me? coding an example of the above scenario would be truly appreciated.
Thanks in advance!

Sponsor our Newsletter | Privacy Policy | Terms of Service