I have a front end HTML code which I have used PHP to access the database and it worked well. The problem came when I used the same PHP code to access the same database but with different HTML frontend code. My php code appears grayed out on the editor, see the image
I am trying to access same database. whats the problem here