I was making some tests, and it was a surprise when i was querying a table, and the query SELECT * FROM table WHERE email=0
returned all rows from the table.
This table has no '0' values and it's populated with regular e-mails.
Why this happens? This can lead to serious security problems.
Is there a way to avoid this without modifying the query?
Am i missing something here?
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…