tooltiperror
Super Moderator
- Reaction score
- 231
Gah, I can't figure this out.
I can't figure out why it doesn't print "It Works..."
PHP:
<?php
$poop = " Print ";
function HighlightWord($word)
{
if (strpos($poop, ' '.$word.' ') !== false)
{
return 'It works...';
}
return $word;
}
echo HighlightWord('Print');
?>
I can't figure out why it doesn't print "It Works..."