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 [...]
Entries from October 2007
Quick Character Escaping in PHP
October 10th, 2007 · No Comments
Tags: Programming · SQL · php