All Together, Lesson 4, PHP


The following is my PHP work and it doesn't work. Can you please check it?

        {echo "The condition is true"};
       else{echo "The condition is false"}; 


I figured it out . Previously, I put the semicolon after my string but outside of the curly braces. Now I put the semicolon right in between the quotation of the string and the closing curly braces and it worked.

{echo "The condition is true";}
else{echo "The condition is false";}