vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Ugh (https://vborg.vbsupport.ru/showthread.php?t=51438)

filburt1 04-10-2003 02:28 PM

Ugh
 
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

amykhar 04-10-2003 02:30 PM

Quote:

Today at 11:22 AM filburt1 said this in Post #1


* filburt1 drives head through monitor

What kind of new monitor are you going to get? ;)

colicab-d 04-10-2003 02:42 PM

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)

filburt1 04-10-2003 02:45 PM

Punctuation is your friend. :)

Dean C 04-10-2003 03:01 PM

Yep and then i end up running to scott for help lol!

Broekie 04-10-2003 07:38 PM

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'];
Note that there's a " in front of username while there's a ' on the end.

I remember a lot of people staring at me while I was cursing...

filburt1 04-10-2003 08:07 PM

That's why I always use single quotes for keys and double-quotes for everything else :p


All times are GMT. The time now is 10:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01231 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete