adodb and php5

From: Date: Mon, 08 Sep 2003 20:36:53 +0000
Subject: adodb and php5
Groups: php.general 
Request: Send a blank email to php-general+get-162010@lists.php.net to get a copy of this message
Does anyone had tested ADODB with php5? I can make a query, print the recordcount but when i try to show the result i got nothing <? require ("some\\adodb.inc.php"); $conn =& ADONewConnection('mysql'); $conn->PConnect('some', 'some', 'some', 'some'); $seleciona = " select campo from tabela "; $qry =& $conn->Execute($seleciona); if (!$qry) { echo $conn->ErrorMsg(); echo "erro"; } else { while (!$qry->EOF) { echo $qry->fields['campo'] . "<br>"; $qry->MoveNext(); } } ?> any help? thanks

« previous php.general (#162010) next »