N Ngoc Hue New member Sep 20, 2021 #1 What will be the output of the following PHP code? Code: <?php $color = red; echo "\$color"; ?> A. red B. $color C. \red D. Error
What will be the output of the following PHP code? Code: <?php $color = red; echo "\$color"; ?> A. red B. $color C. \red D. Error
T Trần Vũ New member Sep 20, 2021 #2 Answer: b Explanation: To print red remove the \. Upvote 0 Downvote