Page 1 of 1

how to navigate from one image to another

Posted: Thu Jan 22, 2009 6:49 am
by ecxzqute
i have a problem displaying images in a webpage using php mysgl. im trying to display images in a page having to move to or display the succeeding images w/o changing the page.. how am i gona do this?

any idea please?

e.g.. current image is displayed.. then when i click next.. the succeeding images in the database will be displayed in the same page...

Re: how to navigate from one image to another

Posted: Thu Jan 22, 2009 6:53 am
by papa
If you want it to display next image without reloading the page you need to use ajax.

Re: how to navigate from one image to another

Posted: Thu Jan 22, 2009 10:13 am
by Burrito
or just change the image's src attribute.