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 Certified
Ethan Rosenberg erosenb...@hygeiabiomedical.com wrote on 08
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 Specialist - L3
'Connection to database failed.br /';
echo 'SQLSTATE: ' . db2_conn_error() . 'br /';
echo 'Message: ' . db2_conn_errormsg(). 'br /';
}
Hope that gets you on the right track.
Thanks,
-Dan
Daniel Krook, IBM L2 Certified IT Specialist
Software Engineer, Advanced Cloud Technology, GTS
://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 - Tools, ibm.com
--
PHP Database Mailing List (http://www.php.net
://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-maintainer-zts
Any thoughts?
Thanks,
-Dan
Daniel Krook, Content Tools Developer
Global Production Services - Tools, ibm.com
http