Advertisement
Guest User

Untitled

a guest
Aug 25th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <?php
  2. $dsn = "database name";
  3. $username = "user name";
  4. $password = "";
  5. $conn = @odbc_connect($dsn, $username, $password);
  6.  
  7. $q = "select version()";
  8. $r = odbc_exec($conn, $q);
  9. echo odbc_result($r, "Version") . "Hi";
  10. ?>
  11.  
  12. Database Version + Hi
  13.  
  14. Hi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement