Skip to main content

Main PHP Files

The main level PHP files define the individual pages of the site. 

Naming Convention

The preferred naming structure for PHP files is set by the following guidelines:

  • Lowercase letters with words separated by hyphens (-) or underscores (_) for procedural scripts.
  • No spaces or special characters — stick to A–Z, a–z, 0–9, _, and -.
Usag

The name should be one that identifies the purpose of the page. Thus, cemeteries.php file code would be associated with displaying a list of all the county cemeteries, while cemetery.php would be associated with the page to display a single cemetery.