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
  • if you have ?> and <?php in succession, might as well remove them Commented Nov 23, 2010 at 20:11

1 Answer 1

5

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

Sign up to request clarification or add additional context in comments.

2 Comments

We have spent over 2 hours working on this, and you just solved our problem in seconds. Thank you so so so much.
Just a note....if he solved your problem you should click the checkmark to 'accept' his answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.