COM

From: Date: Sat, 29 Mar 2003 09:18:57 +0000
Subject: COM
Groups: php.db 
Request: Send a blank email to php-db+get-26693@lists.php.net to get a copy of this message
Server Win2000 +ISS5 +PHP Trying to get access to an access DB through COM but i wont work. there is no results generated. Can anyone help me Here is the code $rownum =0; $conn = &ADONewConnection('access'); $conn->PConnect('webdb.mdb'); $result = &$conn->Execute('SELECT Produkt, Artikelnr, Pris, Lagerstatus, Beskrivning, Kategori, Bild FROM Data'); while(odbc_fetch_row($result)){ $Produkt = odbc_result($result, Produkt); $Artikelnr = odbc_result($result, Artikelnr); $Pris = odbc_result($result, Pris); $Lagerstatus = odbc_result($result, Lagerstatus); $Beskrivning = odbc_result($result, Beskrivning); $Kategori = odbc_result($result, Kategori); $Bild = odbc_result($result, Bild);

« previous php.db (#26693) next »