I have ADOdb being utilized on two sites. On the first it works flawlessly, on the second, everything is the same except for the site uses a different database and login information, and it doesnt even seem to attempt a connection.
Using an incorrect table name or login information, doesnt result in an error output, or anything.
this is my code:
$DBTYPE = 'mysql';
$DBHOST = '***';
$DBUSER = '***';
$DBPASS = '***';
$DBNAME = 'fe';
// End Configuration
require_once($config['basedir'].'/libraries/adodb/adodb.inc.php');
$conn = &ADONewConnection($DBTYPE);
$conn->PConnect($DBHOST, $DBUSER, $DBPASSWORD, $DBNAME);
@mysql_query("SET NAMES 'UTF8'");
any idea why this wouldnt work? im completely at a loss now. As I said there is no difference other than two seperate web hosts, one works, one doesnt.
This will work:
NewADOConnectioninstead ofADONewConnection