Using php information in jQuery
<p>I am trying to get a variable from the php code and put it in jquery i have tryed this and it does not work can anyone help me?</p>

<pre><code>&lt; script type="text/javascript" src="js/jquery.query-2.1.6.js"&gt;&lt;/script&gt;
&lt;?
$next_exp = 123;
?&gt;



 $(document).ready(function() {
 var next_exp = $.query.get('next_exp');
 $("#pb5").progressBar({ max: next_exp, textFormat: 'fraction',barImage: 'images/progressbg_orange.gif' });
</code></pre>

<p>});</p>
