hi,
im new here in phpbuilder.com.
i wana ask for help about optimizing execution time of php scripts
i had this error on my school project im working on:
"Maximum execution time of 30 seconds exceeded in www.//.."
i used postgresql for my dbms. i was trying to access a database from another computer within the LAN using dblink functions. i implemented views so that i can read relations from other databases using dblink functions.
i created php scripts reading from this views and presented them in tables and charts on html.
i encountered the above error.i managed to solve the prob by setting the max_execution_time=0.
however, it took a very long time to load the page and its contents especially the tables and charts containg values that are stored from the other database within the LAN.
how can i make it faster to load the page? how can i optimize the execution time?
pls do help me on this matter.
thanks