I'm using mySqli and I'm trying to develop the ultimate sanitizing function before append/update the database.
I was wondering if that super simple function can do the job for me.
function sanitize($me) { return mysql_real_escape_string($me); }Is internal PHP command like date and time (for example
sanitize(date("F j, Y, g:i a"));should also be sanitized ?