Advertisement
Guest User

Untitled

a guest
Jul 18th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1. <?php
  2.  
  3. $dsn = "blustring";
  4. $username = "";
  5. $password = "";
  6. $conn = odbc_connect($dsn, $username, $password);
  7.  
  8. $q = "SELECT idconto FROM conti";
  9. $stmt = odbc_prepare($conn,$q);
  10. $result = odbc_execute($stmt);
  11. while ($row = odbc_fetch_row($result)) {
  12.   var_dump($row);
  13. }
  14. odbc_free_result($result);
  15. odbc_close($conn);
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement