Hi I am trying to make a drop down list for a group of products, and I want the drop down list to be populated from a list of Products I have stored in a PostgreSQL database. I was wondering if this is possible or if I have to manually populate it myself.
Share
This function may help fetching your db row and eventually use a while loop to populate your menu: https://www.php.net/pg_fetch_row
Following code should do the the trick