2

SOURCE: http://pastebin.com/mBJMGean

Variables are still not calculating correctly, They always reset every time even with using $_SESSION variables.

This is trying to become a slideshow with 2 buttons that control 'next' and 'prev'

The variable controls are Picture ID and then the buttons control what the variable is.

it somehow loops from 3 to 1 and wont move any more.

Help is needed please. Thanks.

1 Answers1

5

You can't have any output before the session_start(). Move it up above your html and try again.

wajiw
  • 12,239
  • 17
  • 54
  • 73
  • We have spent over 2 hours working on this, and you just solved our problem in seconds. Thank you so so so much. – Nick Gibson Nov 23 '10 at 20:10
  • 2
    Just a note....if he solved your problem you should click the checkmark to 'accept' his answer. – Paul Nov 23 '10 at 20:19