Using the ? Operator : URL Redirect : Network PHP Source Code


PHP Source Code » Network » URL Redirect »

 

Using the ? Operator



<html>
<head>
<title>Using the ? Operator</title>
</head>
<body>
<?php
$mood = "sad";
$text = $mood=="happy" "a good mood" "Not happy but $mood";
print "$text";
?>
</body>
</html>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Network
» URL Redirect