mysql INSERT vs Update
Do some research one each of these. Are you trying to add a new row to the sql or are you trying to update each of the listings?
Maybe no insert is needed and just the select the database and show the information on a webpage.
http://www.w3schools.com/sql/sql_intro.asp
Great stuff. I am glad you want to learn.