Mega Code Archive

 
Categories / Php / Language Basics
 

Defining a Constant

<html> <head> <title>Defining a constant</title> </head> <body> <?php define("USER", "Joe"); print "Welcome ".USER; ?> </body> </html>