I use adodb cause I need an abstraction layer for database cause the
application can run under mysql, mssql, oracle and pgsql. so i have one
config file that has the parameters for the conection.

this is the reason for me use adodb layer.

now, about ADONewConnection(), this function is from adodb layer.

php.weblogs.com/adodb


----- Original Message ----- 
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Gilberto Garcia Jr." <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, September 08, 2003 5:45 PM
Subject: RE: [PHP] adodb and php5


[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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to