Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 2nd, 2003, 11:09 PM
Authorized User
 
Join Date: Jun 2003
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to manipulate recordset

Hi,

this is really about coding in php. Since I cant find a php forum here, I hope you guys won't mind me posting this here.

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
    Else
        finish = start + (oRS.PageSize - 1)
    End if
End If
'-----------------------------

how can I do the samething in php?

Thanks
 
Old November 3rd, 2003, 05:30 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

You didn't look hard enough. Go to http://p2p.wrox.com/default.asp. There are 4 PHP forums under the top-level category "Open Source(Linux and PHP)"





Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you use scripting to manipulate registry? Ruben VBScript 3 September 13th, 2006 09:36 AM
How to manipulate diagramms? zip Crystal Reports 1 June 12th, 2006 11:20 AM
how to manipulate recordsets allang PHP Databases 1 September 25th, 2004 01:21 PM
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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.