if( has($_x, '<%= id %>') ) { $_result['<%= id %>'] = <% if(datasource.startsWith('=')) { %><%= datasource.substr(1) %>;<% } else { %>sqltoarray($Link, "<%= sqlphpescape(datasource) %>");<% } %> } <% } %> ?>