Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select name="produto" required size="2" class="bt-submit" id="produto">
- <?php
- do {
- ?>
- <option value="<?php echo $row_Recordset1['nome']?>"><?php echo $row_Recordset1['nome']?> : R$ <?php echo $row_Recordset1['preco']?> </option>
- <?php
- } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
- $rows = mysql_num_rows($Recordset1);
- if($rows > 0) {
- mysql_data_seek($Recordset1, 0);
- $row_Recordset1 = mysql_fetch_assoc($Recordset1);
- }
- ?>
- </select>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement