Defining a Constant : Constant « Language Basics « PHP






Defining a Constant




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


           
       








Related examples in the same category