Problem on 3rd exercise "String Functions II"


This is my code...

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

// 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'";

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.


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


Yes exactly, thanks.