title: How to put a MySQL table column as a variable in <script>?
body: <p>I recently made a PHP, HTML, jQuery chat system and I want the users to have the same name in chat, as their login. The whole webpage is already connected to the MySQL database. I want to focus on how to put a <code>$_SESSION(login_user)</code>; as a variable in the jQuery script. Can somebody help me out?</p>
  <pre><code>    var name = [display username];
  </code></pre>