Hello there im new to php and for some reason im having trouble with the String variables, every time i change the $light variable it doesn't = the supposed String and just always echo's "stop".
<html> <head> <title> Conditional Statement Practice </title> </head>
<body>
<?php
extract($_GET);
/* Put your PHP code in here */
$light="orange";
if($light="red"):
echo "stop";
elseif($light="orange"):
echo "prepare to stop";
elseif($light="green"):
echo"proceed";
endif;
?>
</body>
</html>