Hello Peeps
Please help im going nuts.
I have running a local FreeBSD server
On it is the usuals php/mysql
I have installed pear and I am tring to get it to work.
I have all the correct paths etc but im getting errors connecting to it. Here is my snippet code.
include_once("DB.php");
$dbh = DB::connect("mysql://root:password1@localhost/databasename");
This does not work so I have tried this
dsn = 'mysql://root:standby1@localhost/boxedunique';
$db = DB::Connect($dsn);
if (DB::IsError($db)) die($db->getMessage());
and this still does not work. Im getting this error in my window.
Warning: Problem with method call - please report this bug in /vhosts/database/htdocs/tutorial.php on line 14
Can anyone please help.
Thankyou if you can