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? 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) 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 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
Archived
This topic is now archived and is closed to further replies.