Search box is not working properly

I have created a PHP search box on my site but for some reason when I type on it the placeholder text is still visible, not sure what am I doing wrong.
Could you please check it?