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

Intrastat Report Config in ECC 6.0 - goods Movement in EU countries
Colleagues, need ur help to understand the changes require in ECC 6 standard Report configuration se

Website Direction...
I recently used this code to try and make it so the page loads as http://www.domain.com/ when you ty

Turning Data into URLs?
This may seem very basic to you, but I'm having a hard time figuring out how to do this since I don'

array & querys help/advice.
Ok so here goes , I have a mysql database and basically here's what I need to do.

// foreach

Combining Two Queries
I have two scripts that each work fine by themselves. One is a search script with a variable that de

shoping cart issues
i´ve wrote this and works when i add an item to, my cart, but when i want to add othrer item just

Greek characters in php
Hi,

I'm making a script and I m using for first time greek characters.
I started to write

From Header Showing 'Unkown' In Hotmail? Why?
Code: $to = $row_GetID['email_addr'].',sales@mywebaddress.co.uk';
$subject = 'Thank you for you

how do i make a string??
hey guys,
can someone please tell me how to put data from the glob function into a string

Unable to customise toolbar in FCK

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