4 ms·
Hey, the {$e('$value')} idea is interesting. old way: $sql_email=mysql_real_escape_string($email); $sql="UPDATE t WHERE id=123 SET email='$sql_email'"; y
by icode 15y ago
Hey, the {$e('$value')} idea is interesting.
old way:
$sql_email=mysql_real_escape_string($email);
$sql="UPDATE t WHERE id=123 SET email='$sql_email'";
your idea:
$sql="UPDATE t WHERE id=123 SET email='{$e($email)}'";
Im not yet sure, which one I like more.