I am wondering if its possible to declare a symbol constant in php I want to make use of a * on a form label in several places which must be red and thought the easiest way to do this would be to make use of a global constant and then style it red in CSS. I just want to know how I would go about this. thanks
<td id="form">
<label for="customer_name">customer Name*:</label>
</td>
//i want to be able to style the * only
Not possible. Constants in PHP must match this regex:
Therefore, the only “symbol constant” you could do is
_Example code:
Proof: http://codepad.org/1lcDEdMb