
January 10th, 2000, 10:09 AM
|
|
Registered User
|
|
Join Date: Dec 1999
Location: Rochester, NY, United States
Posts: 9
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I am searching a table and I am sure that sometimes the result will be more than one... is it safe to assume that using MYSQL_FETCH_OBJECT i would be able to do the following:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
$myResults = MYSQL_FETCH_OBJECT();
$size = COUNT($myResults);
ECHO $myResults[0]->Name;
.
.
ECHO $myResults[100]->Name;
[/code]
- Regards,
Adam
|