PHP: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
5 bytes removed ,  18 December 2015
m
→‎Using PHP scripts not processed by Cumulus: replace 'as above' by 'normal'
m (→‎Using PHP scripts not processed by Cumulus: replace 'as above' by 'normal')
 
#A more efficient approach, this is a bigger implementation change, is to set Cumulus to process just [[Php_webtags| something like this file]] to read the Cumulus web tags you want to use (some may have parameters to indicate what period to use or how to format the date they output) and then the processed file will create PHP variables/arrays for your other PHP web pages to use.
#Then you create a new PHP script that does not get processed by Cumulus. For example "thismonth.php" would start with the same HTML5 as shown abovenormal, but the table is output by the PHP script:
<pre>
<!DOCTYPE HTML>
5,838

edits

Navigation menu