Problem with the first part of functions


Hello this is my code:

// Print out the position of a letter that is in
// your own name

print strpos ("david", "v");

// Check for a false value of a letter that is not
// in your own name and print out an error message

$haystack = "David";
$needle = "Q";

if (strpos($haystack, $needle) === false){
print "Sorry, not that letter $needle in $haystack";


Where is my erorr ?


google search
python vs php