Parse error: syntax error, unexpected T_VARIABLE, expecting '(' on line 8


#1


Replace this line with your code.


#2

Can you please post your code here?
also include the lesson link please


#4






<?php
if (true) {
echo "This condition is true" ;
}
else (false)

            // Write your if/elseif/else statement here!
       echo "This condition is false" }
       ;
    }

  ?>
</p>



Parse error: syntax error, unexpected T_ECHO on line 13


#5

<?php
if ( ? == true)

i think you have to put a variable instead of question mark


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.