note 11794 added to mssql_query
| From: | php-general at lists dot php dot net | Date: | Wed, 07 Mar 2001 11:09:28 +0000 |
| Subject: | note 11794 added to mssql_query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11989@lists.php.net to get a copy of this message | ||
may I ask a question ?
can php do like get 10 records only from 100 records. ?
if we write in ASP
the query recordset that we get from a query is 100 records.
but we just need the first 10.
we can write "rs.Maxrecords=10"
is PHP can do this ??
I would not like using if($count <= 10)......
http://www.php.net/manual/en/function.mssql-query.php