Skip to content

Instantly share code, notes, and snippets.

@julp
Created December 1, 2017 10:42
Show Gist options
  • Save julp/7cf5977de2381bab626237aecf467419 to your computer and use it in GitHub Desktop.
Save julp/7cf5977de2381bab626237aecf467419 to your computer and use it in GitHub Desktop.
foreach liste erreur
<?php foreach ($ctable as $idtable => $rest): ?>
<select name="" id="<?= $idtable ?>">
<?php foreach ($rest as $idnametable => $id): ?>
<option value="<?= $idnametable ?>"><?= $id ?></option>
<?php endforeach; ?>
</select>
<?php endforeach; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment