<?php
$words = "my my my there are so many words in the sentence";
$result = str_word_count($words);
/* str_word_count is a function for counting the strings */
print $result . "
";
$did_send = mail('stefan@killerphp.com','php tutorial',"message.....");
echo "Email send: " . $did_send;
?>