Re: [PHP-DB] pdo_odbc and odbc

2007-01-03 Thread Chris
james tanhs wrote: Hi, I m running on : client: XP + Apache2.2+Php5.2 ( enabled pdo, pdo_odbc, Merant) server: oracle8i Are there anyone having the same problem ? Maybe ask the php-general list since you haven't got a reply here.. there are more people on that list and more chances that

[PHP-DB] pdo_odbc and odbc

2006-12-29 Thread james tanhs
Hi, I m running on : client: XP + Apache2.2+Php5.2 ( enabled pdo, pdo_odbc, Merant) server: oracle8i Are there anyone having the same problem ? Thanks. ?php // option 1 $db = new PDO('odbc:his', 'his', 'passwd'); $db-setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $stmt =