Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- Odd issue with a SELECT query.


LifeinAsia - 6:26 pm on Sep 9, 2010 (gmt 0)


Some parens would be helpful:
"SELECT * FROM `tester` WHERE (`name` = '".$_POST['username']."' OR `user_email` = '".$_POST['username']."') AND `password` = '".md5($_POST['password'])."' LIMIT 1";


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4199561.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com