Forums / Developer / Using a module in command line / Comment42885
Antoine W.
Monday 18 April 2005 1:55:21 am
Thanks Ralph, Scripts in /bin/php/ helped me.In fact, $ezdb must be instanciated as below :
$db =& eZDB::instance( $type, array( 'server' => $host, 'user' => $user, 'password' => $password, 'database' => $database ) );