What am I doing wrong? please can anyone help me?


#1

Parse error: syntax error, unexpected T_ELSE on line 11

<?php
// Write your if/elseif/else statement here!
if (3 < 5); {
echo "the condition is true";
}
else (3 > 5);{
echo "The condition is false";
}
?>


#2

Remove the semicolons after your if and else statements.
if ( 3 < 5);{
should be
if (3 < 5) {