I have this radio button that fills up from the database dianamically, In what way could your database be checked from the database for editing? , I would be served either in jquery or php greetings thank you!
<div class="inline-group">
<?php foreach ($Ubicacion as $key => $value) { ?>
<label class="radio">
<input id="<?= $value->nombre?>" type="radio" class="radio" value="<?= $value->id_ubicacion?>" name="ubicacion"/><?= $value->nombre?>
<i>
</i>
</input>
</label>
<?php } ?>
</div>
This data is a foreign key, when calling the array $ Location I fill the foreach with the data of that array, in another array I have the data that is stored, of what form within that foreach I can compare the id of the radius button with the id of the array in my database to bring the data checked?