-1
Good morning Can anyone tell me how to bring into a Select component of html the records that are in PHP ? In fact, I know how to bring, but how can I bring only what was saved in the bank and even select others. Below is the code as I am doing. I need to bring the doctor who was registered but at the same time select other if I wish to change...
what is displayed on the screen as it is now?
– Tales Peres
He’s bringing all the records...
– Rogério dos Santos
Of course he has to bring everyone, but he does not bring selected what is saved in the bank..
– Rogério dos Santos
that
$tb_medico_id_medico["tb_medico_id_medico"]
would be that this saved in the bank?– Tales Peres
Yes, it is the one saved in the bank...tb_medico_id_medico is the table field
– Rogério dos Santos
Please click on [Edit] and put the code as text. Putting it as an image is not ideal, understand the reasons reading the FAQ.
– hkotsubo
Possible duplicate of Bring data in Select with PHP
– LipESprY