|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-12-18 04:36 UTC] jlim at natsoft dot com dot my
[2001-01-29 17:21 UTC] phanto@php.net
[2001-01-30 19:04 UTC] phanto@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 13 02:00:01 2025 UTC |
Currently, COM does not support variant type 1. This is type NULL. This should be easy to fix as we can make it equivalent to false. Does PHP support null as a constant? The bug can be replicated by accessing a database with nulls in the records using ADO. <? $dbc = new COM("ADODB.Connection"); $dbc->open ("driver={Microsoft Access Driver (*.mdb)};dbq=d:/test/DB/guestbook.mdb;uid=Admin"); $rs = $dbc->Execute("select * from guestbook"); $i = 0; while (!$rs->EOF) { $i += 1; $fld0 = $rs->Fields(0); $fld1 = $rs->Fields(1); $fld2 = $rs->Fields(2); print "$fld0->value $fld1->value $fld2->value<BR>"; $rs->MoveNext(); } $rs->Close(); ?>