'.$word.' '; $wrong++; }else{ $print=$print.' '.$word.' '; } } echo'

You made '.$wrong.' mistake(s) which are highlighted below

'.$print.'

'; } ?>