Cloud_Geek 0 Posted March 25 Share Posted March 25 I am new to php. Can somebody guide what's the error in below code? <?php echo "Red"; echo "Blue"; echo "Green" ?> Quote Link to post Share on other sites
Barand 1,649 Posted March 25 Share Posted March 25 What are you expecting the code to do? Why do think there is an error? Quote Link to post Share on other sites
Cloud_Geek 0 Posted March 26 Author Share Posted March 26 22 hours ago, Barand said: What are you expecting the code to do? Why do think there is an error? I want to display these color names but its giving error. Quote Link to post Share on other sites
Barand 1,649 Posted March 26 Share Posted March 26 (edited) What error is it giving? Care to share? When I run your code it outputs Quote RedBlueGreen Edited March 26 by Barand Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.