Brain Goo

Carpe Crap ‘em

Brain Goo header image 4

Entries from October 2007

Quick Character Escaping in PHP

October 10th, 2007 · No Comments

When writing PHP web apps, I tend to run in to a portability issue when dealing with SQL connectivity. Since I can’t count on having the PEAR DB module available, I rolled my own set of functions to interact with a MySQL database.
The problem lies in escaping characters in your SQL queries. Do [...]

[Read more →]

Tags: Programming · SQL · php