SHARE
TWEET

Untitled

a guest Jun 19th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. ?>
RAW Paste Data
Want to get better at PHP?
Learn to code PHP in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top