COM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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);




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux