[postgis-users] multiple queries in one phpscript?
nicolas.ribot at gmail.com
Thu Oct 6 02:21:01 PDT 2011
> I am pretty new to postgresql and php.
> I have a webmapping application which uses postgresql/postgis as its
> In the application there is a charts website-page which picks out data from
> the postgis tables and displays them using the Ext.js library.
> Up until now I have been using one php script which includes one postgresql
> sql-query which is used to populate the chart.
> If I have multiple charts which use mulitple queries, am I able to put them
> in one php script or do I need a seperate script for each query?
> Please excuse me if this should not be posted here...but I consider this
> more of a postgis/webmapping question as a sencha/extjs question.
Yes, you can put any number of queries in a single PHP file.
More information about the postgis-users