Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php
  2.  
  3. $con = mysql_connect(localhost,root,root);
  4. mysql_select_db(m_ajax);
  5. $result = mysql_query("select * from user");
  6. //$row = mysql_fetch_row($result);
  7. while( $row = mysql_fetch_array($result ,MYSQL_NUM)) {
  8.        $response = $row[1];
  9.    
  10.  }
  11.  
  12.  
  13. echo $response;
  14. //echo"ok";
  15.  
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement