Re: PHP and IIS Index Server
| From: | Andy Hoffman | Date: | Mon, 11 Sep 2000 15:42:08 +0000 |
| Subject: | Re: PHP and IIS Index Server | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2578@lists.php.net to get a copy of this message | ||
Matthew Podwysocki wrote:
> There are no syntactical errors in the previous lines. However, I am
> running into trouble trying to pull out the data.
> echo ("<p><b><a href='" . $rsQuery["vpath"] .
> "'>" . $rsQuery["filename"] .
> "</a></b><br>");
> echo ("<font size=-1>" . $rsQuery["characterization"] .
> "...</font><br>");
> echo ("<font size=-2>" . $rsQuery["HitCount"] . "
> hit(s)</font></p>");
>
> The function $rsQuery->RecordCount seems to work correctly, however, I just
> can't seem to get $rsQuery["vpath"] to get me any data. Any ideas?
Probably due to syntax of property access of COM objects within PHP... haven't
used this much, but you might want to try the COM function com_get()...
From PHP Manual (though the com functions ARE NOT well documented) -
mixed com_get (resource com_object, string property)
Try that and see what happens.
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com