whiteboikyle Posted April 14, 2008 Share Posted April 14, 2008 $query = "SELECT * FROM edit WHERE subject = Member ORDER BY ID desc limit 1"; Unknown column 'Member' in 'where clause' When i submit the subject is Members.. and its labled subject So what am i doing wrong Quote Link to comment Share on other sites More sharing options...
darkfreaks Posted April 14, 2008 Share Posted April 14, 2008 $query = "SELECT * FROM edit WHERE subject = 'Member' ORDER BY ID desc limit 1"; make sure that field exists in your DB. also make sure it is spelled right Quote Link to comment 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.