Re: [PHP-DB] mysql query

2013-08-21 Thread Daniel Krook
Ethan, What about: $result2 = mysqli_query(cxn, $sql2); Doesn't look like you're sending it a connection link as a variable ($cxn) and that's passed through as a literal? Thanks, Daniel Krook Software Engineer, Advanced Cloud Solutions, GTS IBM Senior Certified IT

Re: [PHP-DB] mysql query

2013-08-21 Thread Daniel Krook
ing to give you the same thing as the print_r below it. Thanks, Daniel Krook Software Engineer, Advanced Cloud Solutions, GTS IBM Senior Certified IT Specialist - L3 Thought Leader The Open Group Certified IT Specialist - L3 Distinguished Cloud, Java, PHP, BlackBerry, DB2 & Solaris Certi

Re: [PHP-DB] Installing IBM DB2 drivers onto an Apache Server under Fedora 16 x64 to access IBM POWER7 DB2 via PHP....

2012-05-11 Thread Daniel Krook
27;Connection to database succeeded.'; db2_close($conn_resource); } else { echo 'Connection to database failed.'; echo 'SQLSTATE: ' . db2_conn_error() . ''; echo 'Message: ' . db2_conn_errormsg(). ''; } Hope that get

Re: [PHP-DB] PHP with a XML database

2007-01-26 Thread Daniel Krook
s.ibm.com/redpieces/abstracts/sg247315.html DB2 XML (pureXML) wiki http://www.ibm.com/developerworks/wikis/display/db2xml/Home DB2 Express-C http://www.ibm.com/software/data/db2/express/download.html Daniel Krook Content Tools Developer - SCSA, SCJP, SCWCD, ZCE Global Production Services -

[PHP-DB] PDO prepared statement placeholders oddness (DB2)

2006-02-16 Thread Daniel Krook
1, $params[$i]); } $result = $stmt->execute(); This is PHP 5.1.2 on SLES 9. I don't see anything related in http://bugs.php.net/ Configure was ./configure --with-IBM_DB2 --with-pdo-odbc=ibm-db2,/home/db2inst1/sqllib --with-ibm-db2 --with-apxs2=/opt/IBMIHS/bin/apxs --enable-maint