RE: [PHP] adodb and php5
| From: | Jay Blanchard | Date: | Mon, 08 Sep 2003 20:45:50 +0000 |
| Subject: | RE: [PHP] adodb and php5 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162011@lists.php.net to get a copy of this message | ||
[snip]
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');
[/snip]
You do not need the ADODB connection if you are using MySQL. Are you
connecting to Access or MS SQL? If you are using MySQL look at
http://www.php.net/mysql_connect . For instance, the
function you use
above ADONewConnection() does not exist as a PHP function. Do you
declare the function in adodb.inc.php?