I have recently been trying to create a class called Database with 
methods inside it to ease my coding with web applications. I've noticed 
though when I create an object from the class like
$x = new Database();
Then try to call the connectDB() method (function we call it in PHP) 
like so

$x->connectDb(bla bla bla bla);
I get the error message that the function cannot be found as if it is 
for some reason looking in the class itself for a function of pg_connect 
when it should be using the PHP libriaries instead. Anybody else run 
into this problem or know a way to fix it.

Thanks
---
Sloan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to