我正在尝试创建一种更简洁的方式来调用数百个数据库。我没有在每次想要输出单个字段时编写整个查询,而是尝试将代码移植到一个执行所有查询工作的类中。这是我到目前为止所学到的类:private $mysql;
$info = $result->fetch_object() or die('Could not create object
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQLERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQLERROR 1064 (42000): You have an error in your SQL syntax; check the manu