I have written this short function to protect against my_sql injection, because of its importance I just want to double check with other\'s that this will function as I inte
If you include arbitrary $keys in your query, you should escape those too.
$key