/ Published in: PHP
warning! not tested, I'm not an expert on this field
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// name: evCleanSQL // version: v0.1 // description: limpia un string para una consulta SQL function evCleanSQL( $sql ) { // si magic quotes está en ON endif; // Si PHP > 4.3.0 else : // si PHP version > 4.3.0 endif; return $cleanSql; }