Page 1 of 1

Little problem in PHP

Posted: Wed Jan 31, 2007 2:03 pm
by eshban
Hello,

I am facing a little problem in PHP.

I have a table which has three fields

Table Name : images
field1 Name:img_id
field2 Name :image_path
field3 Name:image_text

The requirement is to show the Image and its respective text in a Table. And show only One image and its text at a time.

Below Table there are two button links, "NEXT" and "PREVIOUS". When user press the "NEXT" button the page
refreshes and it will show the NEXT IMAGE and its respective text. And when user press the PRevious button
it goes onestep back.

Kindly help that how can i do this.

I spend many hours on this, but i am unable to write its algo and sequenced code. I am unable to write the sequence of code.

Kindly help


Thanks

Posted: Wed Jan 31, 2007 2:08 pm
by louie35

Posted: Wed Jan 31, 2007 2:10 pm
by jayshields
What code have you put together so far?

Posted: Wed Jan 31, 2007 6:21 pm
by RobertGonzalez
Search for pagination. There are hundreds of threads on these boards about pagination. There are even tutorials about pagination. Search a little for pagination and I am sure you will come across something to help you figure it out.

Posted: Wed Jan 31, 2007 7:11 pm
by gavin1996