Passing record id to a modal and updating record

I have a ‘contacts’ table in MySql and have created a hyperlink on full name to open a modal with a BS form. However despite going through the existing tutorials I’m struggling to understand how I can retrieve the specific record when clicking the hyperlink and populating the form in the modal to edit the record. Can anyone advise please?

Community Page
Last updated: