例如,One mysql server machine A has One table called "tableA" under in a database called databaseA, anothermysql server machine B has one table called "tableB" under in a database called databaseB.如何加入tableA
我已经设置了一个通用的mysql类,它允许我连接到数据库,并具有一些从表中获取记录的函数: //some lines to connect, followed by:public function get_record($sql) $result = mysql_result(mysql_query($sql));
return我通过将$mysql = new mysql();添加