Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select name='listagem_dia'>
- <?php
- while ($dados = mysql_fetch_array($resultado)) {
- $nome = $dados["nome"];
- $id= $dados["id"];
- echo "<ul><li><option value=".$id.">".$nome."</option></li></ul>";
- }
- ?>
- </select>
- <?php
- for($i = 1;$i<=7;$i++){
- ?>
- <select name='listagem_dia'>
- <?php
- while ($dados = mysql_fetch_array($resultado)) {
- $nome = $dados["nome"];
- $id= $dados["id"];
- echo "<ul><li><option value=".$id.">".$nome."</option></li></ul>";
- }
- ?>
- </select>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement