Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Repeating regions

Status
Not open for further replies.

luckyblackcat

Programmer
Aug 15, 2002
19
GB
Hi,

I have a property db with fields refno, country ,area, town, description, pic1 etc.

You get the pic ... course you do ...

I want to show 3 properties on a page each in nested html tables for layout reasons.

I've used .. $row = mysql_fetch_assoc($result);

The only idea I have is to use a varable to count which $row in the array $result has been displayed.
I want to use << < > >> to navigate.
Are there any features of MySQL/PHP to make this easier than my php counter idea (it doesn't seem very elegant)

Please don't say this a PHP problem, it may be but it is intertwined with MySQL ...


Thanks

LuckyBlackCat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top