title: Display database dynamic content using php mysql and jquery
body: <p>Recently, i am working with jquery for my mini-project.</p>
  
  <p>I took a code from this resource.
  <a href="http://unwrongest.com/projects/airport/" rel="nofollow">http://unwrongest.com/projects/airport/</a></p>
  
  <p>My code works fine, and here is my code</p>
  
  <pre><code>    &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script src="../jquery.airport-1.1.source.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
  
      $(document).ready(function() {
      $('#div1').airport([ 'user1', 'user2', 'user3' ]);
      });
      &lt;/script&gt;
  </code></pre>
  
  <p>My html body tag looks lik this</p>
  
  <pre><code>    &lt;div id="div1"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Now, i have a table called "users"(with fields 'id' and 'username') and i want to display the username dynamically from the table
  and not the hardcoded value in the above script (i.e. <code>$('#div1').airport([ 'user1', 'user2', 'user3' ]);</code> )</p>
  
  <p>How can i achieve this?</p>