how to navigate from one image to another

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ecxzqute
Forum Commoner
Posts: 29
Joined: Tue Oct 14, 2008 12:26 am

how to navigate from one image to another

Post 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...
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: how to navigate from one image to another

Post by papa »

If you want it to display next image without reloading the page you need to use ajax.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Re: how to navigate from one image to another

Post by Burrito »

or just change the image's src attribute.
Post Reply