Guest User

tugatech.com.pt

a guest
Jun 7th, 2013
49
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $result = pgsql_query(qwertyui);
  2.  
  3. <select name="rua">
  4. <?php
  5. while ($line = pgsql_fetch_array($result)) {
  6. echo '<option value="' . $line['id'] . '">' . $line['name'] . '</option>';
  7. }
  8. ?>
  9. </select>
RAW Paste Data