Copying in PHP

Hi there,
I am having an issue which I will need some help about. I have an id and title created in a table and wanted this to auto populate in an html page without re-entering the id and title using php.
I will appreciate any help, guidance and suggestions on this
Many thanks.