How do I get the row number from from an sql table query


Posted on 16th Feb 2014 07:03 pm by admin

Hi all

I have a table that I query and it returns a number of rows.
mysql_num_rows($query) = $total
Did you know?Explore Trending and Topic pages for more stories like this.

I want to have next and previous buttons, is there a way of retrieving the current row number, and can you move it backwards and forwards by 1, or do I have to keep a track of the button presses

many thanks
No comments posted yet

Your Answer:

Login to answer
181 Like 51 Dislike
Previous forums Next forums
Other forums

DYNPRO_FIELD_CONVERSION
Hi gurus,

I got a dump when I run one of my program. the dump is described below:

chat
hello i'm amir i need a chat source code in asp.net 2.0 without Ajax. anybody can help me?

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

SAP Logon Failed
I tried to login to SAP through MMC.

When i click start and give password.

it

Tournament Brackets (Double Elimination)?
Is making a double elimination tournament style bracket system capable of being done in php?

Confusing Functions
So, I've been reading up on Functions and I like them! However, I need some help using variables in

Insert data in Mysql and move to another page
I'm stuck with this simple problem. I need to insert data in Mysql and then hit submit and move to a

Uploading files/images via forms
Hey all, I am building a database for work that will contain some minor data on plant species along

Displaying Column Names
I have a question regarding the ability to show the column names from my table/query.
What I'm lo

Beginners syntax and loop questions - help please!
Hi everyone,

I have some problems with php code. I'm currently in the middle of learning php,

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash