Adding MySQL dev site's PHP security guide (chapter 3)
Adding magic quotes countermeasure
Adding mysql_real_escape_string() countermeasure