Hi there,
I'm completely new to PHP and am not much of a programmer so please bear with me. I'm trying to set up adoDB to learn PHP/MySQL. I've copied the adoDB files to my host and now I'm trying to run the basic script to see if I can connect but am having problems.
I have a MySQL database set up and it works fine, I can interface with it no problem.
Here is the PHP code I'm using to try and connect through some PHP code:
<?php
include('adodb/adodb.inc.php');
$db = ADONewConnection($mysql); # eg. 'mysql' or 'oci8'
$db->debug = true;
$db->Connect($209.132.227.211, $user, $password, $database);
$rs = $db->Execute('select * from some_small_table');
print "<pre>";
print_r($rs->GetRows());
print "</pre>";
?>
Naturally, I change $user, $database and $password to the correct information.
When I load this page, it comes up blank, no errors or anything. Can anyone offer some assistance?
Thanks!