Displaying data based on row

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
harmzz
Forum Newbie
Posts: 1
Joined: Mon Apr 07, 2008 12:04 pm

Displaying data based on row

Post by harmzz »

Hi,

Ok what I wish to do is display data in a custom table I have.

On the first row of the table for example I wish to show in a cell data say name for record 132
in cell 2 186 so on.

Now how do I go about this ?



Thanks
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Urgent Help - Displaying data based on row

Post by John Cartwright »

Please do not post titles such as "Urgent", or "HELP" again. We treat all posts of equal importance and suggesting otherwise would do more harm than good.

As for your problem, please post some code and we will begin from there.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Displaying data based on row

Post by califdon »

harmzz wrote:Hi,

Ok what I wish to do is display data in a custom table I have.

On the first row of the table for example I wish to show in a cell data say name for record 132
in cell 2 186 so on.

Now how do I go about this ?

Thanks
Depending on the row number in a relational database table is a risky operation, at best. It only works if the table is static, no updating, otherwise the position in the database may change, as when a record is deleted.

I don't understand what you mean by "cell 2 186".
Post Reply