Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 3rd, 2003, 06:16 PM
Authorized User
Join Date: Jun 2003
Location: , , .
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to manipulate recordsets


this is the equivalent asp code of what I want to do.

oRS.CacheSize = 10
intPageCount = oRS.PageCount
intRecordCount = oRS.RecordCount

If intRecordCount > 0 Then
    oRS.AbsolutePage = intPage
    start = oRS.AbsolutePosition
    If CInt(intPage) = CInt(intPageCount) Then
        finish = intRecordCount
        finish = start + (oRS.PageSize - 1)
    End if
End If

how can I do the samething in php?

Reply With Quote
  #2 (permalink)  
Old September 25th, 2004, 01:21 PM
Authorized User
Join Date: Aug 2003
Location: Bay City, mi, USA.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dkittell Send a message via AIM to dkittell Send a message via Yahoo to dkittell

Are you looking to create pages of the records like next/previous page of records or are you trying to do DB page navigation based on the record?

David Kittell
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to manipulate diagramms? zip Crystal Reports 1 June 12th, 2006 11:20 AM
manipulate recordset k2_andy Access VBA 1 May 30th, 2004 05:46 PM
manipulate variable Thodoris SQL Server 2000 2 May 28th, 2004 03:27 AM
how to manipulate recordset allang Classic ASP Databases 1 November 3rd, 2003 05:30 AM

All times are GMT -4. The time now is 09:15 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.