Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

gav (2710)

  (email not shown publicly)
AOL IM: flufflegavin (Add Buddy, Send Message)

Hacker in NYC.

Journal of gav (2710)

Sunday November 03, 2002
12:07 PM

Bad programming!

[ #8741 ]

Googlism is the source of some amusing things but that doesn't mean they are exempt from simple programming mistakes. You shouldn't use user input directly in a database query. If your DB library supports bound variables, use them.

Googlism for: gavin's house
MYSQL Error in query: INSERT INTO googlism (ism,alpha,date,type) VALUES ('gavin's house', 'g', now(), '1') Error: You have an error in your SQL syntax near 's house', 'g', now(), '1')' at line 1

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.