title: SyntaxError: missing formal parameter
body: <p>I have some errors with my code. Maybe someone could help me. I am getting this error:
  </p>
  
  <pre><code>SyntaxError: missing formal parameter
  function col(10,10){
  </code></pre>
  
  <p>And this is my code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
     function col(&lt;?=$result['seats_count']?&gt;,&lt;?=$result['booked']?&gt;){
         if((&lt;?=$result['seats_count']?&gt;&gt;&lt;?=$result['booked']?&gt;))$('.table.table-bordered.booking tbody tr').css("background-color","#f55");
     };
  &lt;/script&gt;
  </code></pre>