title: The right way to use php in jquery function
body: <p>Do I use the php in jquery function the right way? Because for editing I use NuSphere PhpED and it says "unexpected ','" but if I run the page its working, I don't get any error.</p>
  
  <pre><code>&lt;?php
  $luna = $month;
  $an = $year;
  ?&gt;
  &lt;script&gt;
  $(function() {
      get_data(&lt;?php echo "$luna"; ?&gt;, &lt;?php echo "$an"; ?&gt;);
  });
  &lt;/script&gt;
  </code></pre>