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 | + | var query = "SELECT 'Key Word' as id, " + |
- | + | ||
'FROM 1VlPiBCkYt_Vio-JT3UwM-U__APurJvPb6ZEJPg'; | 'FROM 1VlPiBCkYt_Vio-JT3UwM-U__APurJvPb6ZEJPg'; | ||
; | ; | ||
- | if ( | + | if (id) { |
- | query += " WHERE 'Key Word' = '" + | + | query += " WHERE 'Key Word' = '" + id + "'"; |
} | } | ||
var queryText = encodeURIComponent(query); | var queryText = encodeURIComponent(query); |
Revision as of 13:23, 2 September 2013