title: How to insert php code in a javascript file
body: <p>I'm trying to use a php code snippet for jQuery Cycle Slideshow, but the console gives me this error:</p>
  
  <blockquote>
    <p>"Uncaught SyntaxError: Unexpected token &lt; "</p>
  </blockquote>
  
  <pre><code>var startingSlide = &lt;?php echo $_GET["thumb"] ?&gt;;
  
  $(slideshowContainer).cycle ({
      startingSlide: startingSlide
  });
  </code></pre>
  
  <p>How can I use the PHP code correctly?</p>
  
  <p>I'd appreciate you help.</p>