Display contents of a MySQL table in a form as options

0

good day. I have a table that has two fields, gender_number and description. I can not find the way to show the contents of the table in a form using the select option. How would it come to be?

Thank you very much.

    
asked by martinvox 23.10.2017 в 00:35
source

1 answer

0

simply here I leave an example .. if you give us an example of your code could you help a little more greetings

<html>
<head>
</head>
<body>
   <select name="nombreSelect">
   <option value="int_valor"><?php $valor ?></option>
   </select>
</body>
</html>
    
answered by 25.10.2017 в 14:38