2012-04-01 1 views
1

내 서버에서 데이터베이스에 액세스하는 데 문제가 있습니다. 저는 FT에 초보자입니다. 그래서 모든 행동을 설명 할게요. 우선 테이블을 생성하고 여기에 공공 그것이 만들어에서내 Google 코드에서 Google 융합 테이블을 사용하는 데있어 실수가 무엇입니까?

1) : http://code.google.com/p/fusion-tables-client-php/source/browse/

3) 내가 알고 그 후 : https://www.google.com/fusiontables/DataSource?snapid=S443329UwZ1

2) 그런 다음 내가 FT 작업 할 클래스를 다운로드 테이블의 ID를 사용하기 :

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 />"; 
: 3,406,706

4) modifyed 파일 client_login_example.php을 실행하려고

아무 것도 표시되지 않습니다. 뭐가 문제 야?

답변