Select query results via html form checkbox

[email protected] (ourdiaspora)
Newsgroups php.general
Message-ID <PLjBP3dES16AJpE7EKyx5RXWHCRwpMAMMthuYUH62k_XmjI5wlw_uuS-ixb8ENq58NKuO0bU2ApaHV9wYDrPVFtRzIppcVEEqvmLxdYNzT0=@protonmail.com>
Recipients,

A postgresql database was accessed successfully to print rows of a table column, using the manual page 'php: basic usage'

Excuse the ignorance of the correct terminology, but now want to be able to create a series of html forms web pages.

The query returns the following in the web browser:

"
jane bloggs 	1122

joe bloggs 	1234
"

Please could someone advise the relevant parts of the documentation for review, to be able to produce an adjacent html select element 'checkbox' for each query result row?

The intended result would be:

"
jane bloggs 	1122	✓

joe bloggs 	1234
"

i.e. the user would be able to (de)select row(s) from the query result, then submit new data via the html form.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.