V
8

My first PHP project crashed because I forgot one semicolon

I was building a simple login form for a class project in Denver and spent like 2 hours trying to figure out why the page just showed a blank white screen. Turned out I missed a semicolon after a variable assignment on line 12, which broke the whole script. My instructor just laughed and said it happens to everyone at least once. Learned to double-check syntax errors before panicking. Has anyone else had a tiny typo ruin a whole day of work?
2 comments

Log in to join the discussion

Log In
2 Comments
lucast81
lucast814d ago
Same thing happened to me, now I just run the validator every few lines to catch those mistakes.
2
stella22
stella224d ago
Maybe I should start doing that before I accidentally delete my whole project again.
4