Ok, I found a tutorial at w3schools.com on how to write a PHP define.
The sample they provided looks simple enough:
But here are my questions:Code:<?php define("GREETING","Hello you! How are you today?"); echo constant("GREETING"); ?>
1. Where do I put the define?
2. How do I determine what the define's value should be?
I think that in order to understand what the define's value should be, I need to understand the logic behind the output (i.e. where will it appear so I can figure out what its supposed to say? what purpose is it serving?)


Reply With Quote
