I've been developing a web based system and I designed the screens with the HTML and I'm alredy have database in my PostgreSQL accound.
My question is:

what is the best way to populate my HTML pages from the database and to send the data from the HTML pages to the database???!! is it java(I'm alredy have the driver on my machine)?? or php?? and how??

I'll be very thankfull if you give me hints or tutorial links

best regards