Re: [PHP4BETA] COM problems
| From: | zeev at zend dot com | Date: | Sat, 18 Dec 1999 10:59:34 +0000 |
| Subject: | Re: [PHP4BETA] COM problems | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8124@lists.php.net to get a copy of this message | ||
On Sat, 18 Dec 1999, Michael Stearne wrote:
>
>
> gus wrote:
>
> > Hi!
> >
> > I'm trying to replace my ASP scripts with PHP and I have a problem
> > with a recordset object: The $rs->Fields[$i]->Value is always empty.
> > Does anybody see something wrong in this code?
> >
> > echo $rs->Fields[$i]->Value
> >
>
> First,
> It would be $rs->$Fields[$i]->Value, not $rs->Fields[$i]->Value.
Actually, you're wrong. $s->Fields[$i]->Value is the correct notation.
Zeev