Problem on 3rd exercise "String Functions II"


#1

This is my code...


<?php
// Print out the position of a letter that is in
// your own name
$myName = "Bravoseeker";
echo strpos($myName, "o");

?>
</p>
<p>
<?php
// Check for a false value of a letter that is not
// in your own name and print out an error message
if(strpos("Bravoseeker", "h") === false){
    print "Sorry, no 'h' in 'Bravoseeker'";
?>
</p>


And this is what the console shows me whenever I submit...
Parse error: syntax error, unexpected $end on line 20
And I dont even have line 20 for God sake.
And it also keep sending me this message...
Oops, try again.
Your first strpos() call should output a number.
Please someone should explain something for me.


#2

your if statement is missing its closing curly bracket (})


#3

Yes exactly, thanks.