access数据库中,当有一个字段为null值时,即有一个字段没有任何数据,在调用该字段数据的时候会出错,怎么样解决??
<?php$conn=new com("adodb.connection");
$conn->open("provider=microsoft.jet.oledb.4.0;data source=" . realpath("./tt.mdb") );
$rs=$conn->execute("select * from tab");
echo $rs["bb"];?>
Catchable fatal error: Object of class variant could not be converted to string in E:\hzw_web\test_debug\test.php on line 6