10

When you can't figure out why your page is broken for an hour and then realize it's because of one single missing period 😑

Comments
  • 5
    And this is why you should use a proper IDE like phpstorm that automatically detects errors like that
  • 1
    @brukernavn32 thanks for the suggestion mate
  • 0
    Even VS code detects them
  • 0
    Stop using notepad as an editor and you'll never have hidden syntax error problems again!
  • 4
    If this is your code you have definitely more issues to fix. Recommending you to use a template engine and oop.
  • 0
    Maybe,

    error_reporting(E_ALL);
    ini_set('display_errors',1);

    It's a Healthy practise to include these so you could see the errors.
Add Comment