我在從我的服務器訪問我的數據庫時遇到問題。 我是FT新手,所以我會描述我所有的行爲。我的代碼中使用谷歌融合表的錯誤是什麼?
1)首先,我創建表,並使其公開那就是: https://www.google.com/fusiontables/DataSource?snapid=S443329UwZ1
2)然後,我下載了一個類FT工作: http://code.google.com/p/fusion-tables-client-php/source/browse/
3)後,我知道了表的ID使用:3406706
4)嘗試運行modifyed文件client_login_example.php:
include('../clientlogin.php');
include('../sql.php');
include('../file.php');
//get token
$token = ClientLogin::getAuthToken('[email protected]', '253270514qQ');
$ftclient = new FTClientLogin($token);
//show all tables
echo "<h1>hello</h1>";
echo $ftclient->query(SQLBuilder::showTables());
echo "<br />";
//describe a table
echo $ftclient->query(SQLBuilder::describeTable(3406706));
echo "<br />";
//select * from table
echo $ftclient->query(SQLBuilder::select(3406706));
echo "<br />";
但是沒有顯示任何內容。有什麼問題?