Re: [PHP4BETA] COM problems

From: Date: Sat, 18 Dec 1999 06:03:09 +0000
Subject: Re: [PHP4BETA] COM problems
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-8123@lists.php.net to get a copy of this message
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. But, I don't think you can do that. What does $rs->$Fields[$i] return or $rs->$$Fields[$i]? Michael

« previous php.version4 (#8123) next »