Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on PHP to deprecate MySQL extension. Parent comment
old way:
$sql_email=mysql_real_escape_string($email); $sql="UPDATE t WHERE id=123 SET email='$sql_email'";
$sql="UPDATE t WHERE id=123 SET email='{$e($email)}'";
There are no comments on this comment yet.
old way:
your idea: Im not yet sure, which one I like more.