|I do not see what type of DB parameter I should be sending into your class? |
$zip = new ZipCodesRange($appconf['dbconnection'],'98303',50);
What is this? PEAR DB, MBD2, mysql_connect ??
|2007-01-04 18:01:01 - In reply to message 1 from Wade Arnold|
|Did you ever get this class to work? I am getting the same errors.|
|2007-02-27 13:53:59 - In reply to message 2 from Todd Santoro|
|If anyone has gotten the DB connection part to work, I would love to hear from you.|
Thanks very much!
|2008-06-16 17:38:35 - In reply to message 3 from jeff g|
|I know this is an old msg so hope this reply isn't a problem...|
To get it to work, Set your mysql_connect() to a variable and then replace $appconf['dbconnection'] with your variable.
$config['db_connection'] = @mysql_connect('localhost', 'user', 'pass');
$zip = new ZipCodesRange($config['db_connection'],'98303',50);