38

In web technologies lab.

Friend copied some php code from some website and saved it.
Tries to run it and it just prints whatever he wrote.
After thinking for like half an hour he calls me.

Friend: hey u know php right? Why my code is not running?

I check the code in the editor and everything looks fine except he saved his php code with an extension .txt 😑 😑

Comments
  • 13
    Haha, that's like the equivalent of not plugging in to the electrical outlet and wondering why it won't power on.
  • 0
    If he ran it from the terminal the extension wouldn't really matter. But I guess he doesn't
Add Comment