PHP: Difference between revisions

447 bytes added ,  05:27, 19 May 2018
m
→‎Other PHP examples: added cross reference to new daily summary article
m (→‎Other PHP examples: added cross reference to new daily summary article)
Line 167: Line 167:


== Other PHP examples ==
== Other PHP examples ==
PHP is commonly used with a database, Cumulus MX can append log data to a database, and so PHP will enhance what you can do with web pages.  Even if you are using Cumulus 1 you may load the [[dayfile.txt|daily summary log file]] (and possibly other log files) into a database. See [[Daily_Summary]] article for several PHP scripts that can be used if you have a table with daily summary values on your database.


The support forum includes many ideas for using PHP code, here are just a couple:
The support forum includes many ideas for using PHP code, here are just a couple of them that are easy to implement:
#[http://sandaysoft.com/forum/viewtopic.php?f=14&t=8631&p=71770 compare yesterday with one year ago page]
#[http://sandaysoft.com/forum/viewtopic.php?f=14&t=8631&p=71770 compare yesterday with one year ago page]
#[http://sandaysoft.com/forum/viewtopic.php?f=14&t=10755 Top Ten Records page]
#[http://sandaysoft.com/forum/viewtopic.php?f=14&t=10755 Top Ten Records page]
5,838

edits