removed result===false

after being removed.
the else statement to echo html worked.