title: Display some data from sql database
body: <p>I have a database on phpmyadmin (sql) and I want to display some data on php.</p>
  
  <pre><code>&lt;?php
  session_start();
  ini_set('max_execution_time', 0);
  require_once 'src/db.php';
  require_once 'src/config.php';
  
  /* Taking other user data from database. */
  $a = mysql_query("select * from instagram_users"); 
  while($b = mysql_fetch_array($a))
  ?&gt;
  </code></pre>
  
  <p>I only want to display 10 data from existing data 1000</p>
  
  <p>example : </p>
  
  <pre><code>id 210 = john 
  id 211 = slamet 
  id 212 = kikuk 
  ...
  id 220 = yuni
  </code></pre>