So I have a list of data which I get using a loop.
<?php foreach ($alltables as $tablevalues) : ?>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="tbcheckbox" value="checked">
<input name="check" type="submit">
</div>
<a href="..." name="<?php echo $tablevalues ?>" ><?php echo $tablevalues ?></a>
<?php endforeach;?>
I want to do something for just the tables that their checkpoints were checked. what is the best way to do this? I thought of doing name="<?php echo $tablevalues ?>"
and then use it later but since it's a loop it still didn't work (did that operation on all of them)
Aucun commentaire:
Enregistrer un commentaire