tags:

views:

192

answers:

2

I get an error that says

Fatal error: Call to undefined method stdClass::mysql_con() in ........../.../includes/script/import.php on line 68.

Line 68 corresponds to:

if(!$ip2c->mysql_con())

I do have a require_once() statement at the beginning of my script

What could be the problem here?

Thanks

+3  A: 

it means that either $ip2c object does not exist or mysql_con function is not part of the class you are trying to call.

dusoft
A: 

I think this happen because "extension=php_mysql.dll" extension isn't loaded in php.ini. Take a look with

phpinfo();

Ismael