title: PHP code not working when I move it to a different HTML code so that to access same database
body: <p>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 </p>
  
  <p><a href="https://i.stack.imgur.com/G4DG9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G4DG9.png" alt="enter image description here"></a></p>
  
  <p>I am trying to access same database. whats the problem here</p>