Advertisement
contatowellington

Untitled

Jun 27th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. <select name="produto" required size="2" class="bt-submit" id="produto">
  2. <?php
  3. do {
  4. ?>
  5. <option value="<?php echo $row_Recordset1['nome']?>"><?php echo $row_Recordset1['nome']?> : R$ <?php echo $row_Recordset1['preco']?> </option>
  6. <?php
  7. } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
  8. $rows = mysql_num_rows($Recordset1);
  9. if($rows > 0) {
  10. mysql_data_seek($Recordset1, 0);
  11. $row_Recordset1 = mysql_fetch_assoc($Recordset1);
  12. }
  13. ?>
  14. </select>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement