Re: adodb and php5

From: Date: Mon, 08 Sep 2003 21:00:16 +0000
Subject: Re: adodb and php5
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162014@lists.php.net to get a copy of this message
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" <jay.blanchard@niicommunications.com> To: "Gilberto Garcia Jr." <garcia@ensino.net>; <php-general@lists.php.net> 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

« previous php.general (#162014) next »