submitted by: Snippissimo
PHP: Define A Constant
Once a constant has been defined it cannot be changed. By convention constants are usually written in all capitals. To define, see the following example:
code snippet:
<?php
//define a constant
define("PI", 3.142);
?>



