title: Why my php codes doesn't run when called from submit botton of html form?
body: <p>When I run the same code by typing file's address in Browser's address bar it runs perfectly.But when I run it via html file code doesn't work.The part within  doesn't work whereas the code outside this tag is displayed.
  <a href="https://i.stack.imgur.com/9kpg4.jpg" rel="nofollow noreferrer">THis is my php code</a><a href="https://i.stack.imgur.com/2FEnR.jpg" rel="nofollow noreferrer">This is the output</a></p>