i'm doing this code from the book and i can't seem to get it to work
<html>
<head> <h3> <u> PHP tutorials </u> </h3> </head>
<body>
<?php
$Texas = "large";
$RhodeIsland = "small";
$statement = "Texas";
echo "$statement is $($statement)<br>";
$statement = "RhodeIsland";
echo "$statement is $($statement)<br>";
?>
</body>
</html>
this is the output i keep getting:
Texas is $(Texas)
RhodeIsland is $(RhodeIsland)
instead of:
Texas is large
RhodeIsland is small