View Full Version : Resolved Why Is Slideshow Not Working?

11-25-2010, 09:58 PM
I have found this slideshow, which is very simple because the people I'm building the website for aren't as adapt to HTML and Dreamweaver, and I thought that by simply being able to have the people put it in one folder without worrying about the name would work perfectly!

This is the website where I got the slideshow from:

The issue that I'm having is in Dreamweaver, it shows the < ?= $image_rotation; ?> and it says that there is an error in this line:
foreach($ext_bits as $key => $value){

Here is what I have so far:

If anyone can help me, I would surely appreciate it! :)

11-26-2010, 04:31 AM
Thats not javascript it's php remove the <script></script>s and put in <?php ?> around it. You'll need to change the extension of the page to php as well or reconfig your server to process html as php.

11-26-2010, 06:02 AM
Thank you I should've realized that! I've been looking at so much code I can't tell which is which anymore. :p