Mustang89 Posted May 7, 2007 Share Posted May 7, 2007 User input is "Mark" and in the DB "MaRk". There are two different variables. How do I say that when not the same; error not the same try again or correct. I want the comparsion to be casesentative. User input is $res and $rs as where name and pwd is in the Database. $result = mysql_query("SELECT name, pwd FROM loginpwd WHERE name='$res' AND pwd='$rs'"); while($row = mysql_fetch_array($result)) PHP v. 4.3.10 MYSQL v. 4.1.9 Link to comment https://forums.phpfreaks.com/topic/50393-solved-casesentative/ Share on other sites More sharing options...
effigy Posted May 8, 2007 Share Posted May 8, 2007 Use the BINARY operator. Link to comment https://forums.phpfreaks.com/topic/50393-solved-casesentative/#findComment-248164 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.