Tag Archives: MySQL

MySQL string escaping in PHP

Simple function to prepare user inputted data for inserting into a MySQL database. It simply checks if stripslashes() should be called, and then escapes the string. Basic, but handy.

Posted in Code Stuff | Tagged , | Leave a comment