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