Saturday 22 May 2004 9:37:11 am
I got it!! The db is not connected.I add the codes:
$db =& eZDB::instance(); $db->connect("localhost",$the_database,"root","");
However,it cant get any user, because the $connection in "lib/classes/ezdb/ezmysqldb.php" is false.Then i change the code:
$result =& mysql_query( $sql, $connection );
to $result =& mysql_query( $sql);
Then i got it. But I think it is not the best way.
|