basic PHP syntax
<?php $x=4;
?>
<head>
<title>PHP example</title>
<style type="text/css">
.style4 { color:<?php echo $x == 4 ? 'blue' : 'red'; ?>; }
</style>
</head>
<body>
<span class="style4">ocean</span>
<p><?php echo "land." ?></p>
</body>
</html>
<head>
<title>PHP example</title>
<style type="text/css">
.style4 { color:<?php echo $x == 4 ? 'blue' : 'red'; ?>; }
</style>
</head>
<body>
<span class="style4">ocean</span>
<p><?php echo "land." ?></p>
</body>
</html>