<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>How does this affect performance? are the queries executed when the javascript scripts are loaded into the browser or only when the chart is displayed in the browser?</div><div><br></div><div><br></div><div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">Von:</span></b> Nicolas Ribot <nicolas.ribot@gmail.com><br><b><span style="font-weight: bold;">An:</span></b> Robert Buckley <robertdbuckley@yahoo.com>; PostGIS Users Discussion <postgis-users@postgis.refractions.net><br><b><span style="font-weight: bold;">Gesendet:</span></b> 11:21 Donnerstag, 6.Oktober 2011 <br><b><span style="font-weight: bold;">Betreff:</span></b> Re:
 [postgis-users] multiple queries in one phpscript?<br></font><br>> Hi,<br>> I am pretty new to postgresql and php.<br>> I have a webmapping application which uses postgresql/postgis as its<br>> backend.<br>> In the application there is a charts website-page which picks out data from<br>> the postgis tables and displays them using the Ext.js library.<br>> Up until now I have been using one php script which includes one postgresql<br>> sql-query which is used to populate the chart.<br>> If I have multiple charts which use mulitple queries, am I able to put them<br>> in one php script or do I need a seperate script for each query?<br>> Please excuse me if this should not be posted here...but I consider this<br>> more of a postgis/webmapping question as a sencha/extjs question.<br>> thanks,<br>> Rob<br><br>Hi Robert,<br><br>Yes, you can put any number of queries in a single PHP
 file.<br><br>Nicolas<br><br><br></div></div></div></body></html>