|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-12-07 12:25 UTC] kalowsky@php.net
[2001-12-07 13:11 UTC] ahill@php.net
[2001-12-28 06:10 UTC] lobbin@php.net
[2002-01-02 07:27 UTC] andre dot felipe at embrapa dot br
[2002-06-09 16:17 UTC] kalowsky@php.net
[2002-08-12 22:33 UTC] kalowsky@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 05:00:01 2025 UTC |
No queries can be made with PHP 4 and Openlink ODBC to access OpenIngres. Test program: <? echo " Teste de ODBC<P>" ; $odbc = odbc_connect("Desenv" , "notes", "notes", SQL_CUR_USE_IF_NEEDED ); echo " ODBC_CONNECT return code: $odbc "; $query = "select matrica from srhtb002"; $queryprep = odbc_prepare ($odbc, $query); // This produces the error. $result = odbc_execute($queryprep ); print "ok. result = $result"; $nextrow = odbc_fetch_row($result, 1); if (! $nextrow ) { print "Nco achou nada...<br>"; } else { print odbc_result($result , 1 ); print "<br>"; print odbc_result($result , 2 ); } ?> The configure line is: ./configure --enable-track-vars --with-yp --with-apxs --with-oci8 --with-iodbc=/software/openlink/odbcsdk