Problem with the first part of functions


#1

Hello this is my code:



<?php
// 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 ?


#2

google search
python vs php site:stackoverflow.com