L Lâm Phung New member Sep 20, 2021 #1 What will be the output of the following PHP code? Code: <?php $color1 = red; $color2 = green; echo "$color1"."$color2"; ?> A. red green B. red C. green D. error
What will be the output of the following PHP code? Code: <?php $color1 = red; $color2 = green; echo "$color1"."$color2"; ?> A. red green B. red C. green D. error
G Giao Linh New member Sep 20, 2021 #2 Answer: d Explanation: It has to be $color1 = “red”; and $color2 = “green”; therefore the error. Upvote 0 Downvote