Jarod Posted December 13, 2009 Share Posted December 13, 2009 SELECT username,password FROM `members` WHERE username=`Jarod B` AND password=`1234` I dont see my problem, phpmyadmin returns #1054 - Unknown column 'Jarod B' in 'where clause', any reasons why? Quote Link to comment https://forums.phpfreaks.com/topic/184997-anything-wrong-with-this-query/ Share on other sites More sharing options...
premiso Posted December 13, 2009 Share Posted December 13, 2009 You are using backticks (`) when you need to be using single quotes ( ' ) for data. Moved to proper forum (MySQL) Quote Link to comment https://forums.phpfreaks.com/topic/184997-anything-wrong-with-this-query/#findComment-976565 Share on other sites More sharing options...
Jarod Posted December 13, 2009 Author Share Posted December 13, 2009 Okay thanks, i fixed it Quote Link to comment https://forums.phpfreaks.com/topic/184997-anything-wrong-with-this-query/#findComment-976572 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.