The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Have you ever stared at at 45-line script for half an hour to figure out why PHP is getting annoyed with an "unexpected $end" just to figure out that you left a semicolon out of an eval statement?
/me drives head through monitor |
|
#3
|
||||
|
||||
|
yes, yes i have a bloody ; here or a " there can really ++++ you off.
one time i was writing a script to find i had the query returning a result by age when it should have been id me and 3 other folks couldnt figure it out lol (that includes vbulletins scott) |
|
#4
|
|||
|
|||
|
Punctuation is your friend.
|
|
#5
|
||||
|
||||
|
Yep and then i end up running to scott for help lol!
|
|
#6
|
||||
|
||||
|
I was working on a school project (which took 2 weeks) and I had an error which cost me 7 hours to solve.
I tried lots and lots of things, but after those 7 hours (so, at the end of the day) I finally found the error: Code:
username = $_POST["username']; I remember a lot of people staring at me while I was cursing... |
|
#7
|
|||
|
|||
|
That's why I always use single quotes for keys and double-quotes for everything else
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|