SHARE
TWEET

Untitled

a guest Jun 16th, 2019 111 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3.  
  4. $link = mysqli_connect("remotemysql.com","3Km2Md3lRy","rUbJ8UfU4T","3Km2Md3lRy");
  5.  
  6. if (!$link) {
  7.     die("Connection failed: " . mysqli_connect_error());
  8. }
  9.  
  10. $result = mysqli_query($link, "SELECT * FROM users");
  11. while ($row = $result->fetch_assoc()) {
  12.     print_r($row);
  13. }
  14.  
  15.  
  16. ?>
  17. ***************************
  18.  
  19. Array
  20. (
  21.     [id] => 2
  22.     [fname] => temuri1
  23.     [lname] => takalandze1
  24.     [address] =>
  25. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top