> Tony Aldemir wrote:
>
> >Hi There,
> >
> >I am trying to connect to MySQL using ADODB library for PHP using the
> >following code with no success. What am I doing wrong?
> >
> > >include('/php/adodb.inc.php');
> >
> >$db = &ADONewConnection('mysql'); # eg. 'mysql' or 'oci8'
> >$db->debug = true;
Tony Aldemir wrote:
Hi There,
I am trying to connect to MySQL using ADODB library for PHP using the
following code with no success. What am I doing wrong?
$db = &ADONewConnection('mysql'); # eg. 'mysql' or 'oci8'
$db->debug = true;
$db->Connect('localhost', 'tony', 'mypassword', 'test');
$r
Hi There,
I am trying to connect to MySQL using ADODB library for PHP using the
following code with no success. What am I doing wrong?
debug = true;
$db->Connect('localhost', 'tony', 'mypassword', 'test');
$rs = $db->Execute('select * from users');
print "";
print_r($rs->GetRows());
print "";
?>