Re: Using COM in PHP4 (ADO)

From: Date: Thu, 08 Jun 2000 01:06:04 +0000
Subject: Re: Using COM in PHP4 (ADO)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1259@lists.php.net to get a copy of this message
Hello! Have you tried to access the value in this notation as follows (works in VC++)? echo $rs->fields->item($i)->Value; This would be more of an explicit reference to the value of that field rather than the VB-friendly implied reference in your code. Mike Jörg Krause wrote:
<?php while (!$rs->eof): for($i = 0; $i < $rs->fields->count - 1; $i++): echo $rs->fields->item[$i]; endfor; $rs->movenext; endwhile; ?>


« previous php.general (#1259) next »