I have 2 pages cadastrar_loja.php
and cadastra_documento.php
. In cadastrar_loja.php
there is a text field named Nome da loja
, I would like to get that name from the database, and insert it into a <select>
on the cadastrar_documento.php
page. Thus creating a list within the <select>
with all names of the registered stores.
The application is in PHP
and my bank is mysql
, I'm running in xampp
.
How can I do this?