Team:TU-Delft/SynBioData

From 2013.igem.org

(Difference between revisions)
Line 12: Line 12:
       function drawTable() {
       function drawTable() {
-
         var query = "SELECT 'Key Word' as Scoring, " +
+
         var query = "SELECT 'Key Word' as id, " +
-
            "'Receiving Team' as Receiving, 'Minute of goal' as Minute " +
+
             'FROM 1VlPiBCkYt_Vio-JT3UwM-U__APurJvPb6ZEJPg';
             'FROM 1VlPiBCkYt_Vio-JT3UwM-U__APurJvPb6ZEJPg';
;
;
-
         if (team) {
+
         if (id) {
-
           query += " WHERE 'Key Word' = '" + team + "'";
+
           query += " WHERE 'Key Word' = '" + id + "'";
         }
         }
         var queryText = encodeURIComponent(query);
         var queryText = encodeURIComponent(query);

Revision as of 13:23, 2 September 2013

Fusion Tables API Example: Google Chart Tools Data Table