Re: access Rows
| From: | Johannes Janson | Date: | Thu, 12 Apr 2001 19:40:19 +0000 |
| Subject: | Re: access Rows | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8530@lists.php.net to get a copy of this message | ||
Hi,
If you exactly know which row you want you could use LIMIT yourRow, 1.
If you copy the RS into an array first you would have to use a while
statement
aswell, or not?
Cheers
Johannes
""Mike"" <mpeloso@princeton.edu> schrieb im Newsbeitrag
news:9b4e4n$gmh$1@toye.p.sourceforge.net...
> I want to be able to access the rows of a resultset,but I want to specify
> which ones.(Lets say $row[5]).Do I have to copy the RS into a seperate
array
> first?Most examples enumerate with "while" statements.I dont want to do
> that.
> Thanks
> Mike P
> mpeloso@princeton.edu
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>