Select select statement condition problem. Please clarify.
选择往往比较难
选择往往比较难 2019-07-12 17:30:04
0
0
1124

I found such a piece of code today

$sql = "SELECT * FROM admin_user WHERE md5(concat(id, 'SALT'))='$id' AND md5(concat(admin_pass, 'SALT') )='$pass'";

Generally select * from table name where field name=ID? Why is this an encrypted field name? How does this correspond to the id value?

Solve your doubts.

选择往往比较难
选择往往比较难

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template