kaine- Posted January 7, 2010 Posted January 7, 2010 QUERY ERROR: Unknown column 'h.hChi' in 'on clause' Query was SELECT u.*,us.*,h.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN houses h ON h.hChi=u.maxChi WHERE u.userid=30 anyone know how to sort it? Quote
Zero-Affect Posted January 7, 2010 Posted January 7, 2010 basically it's saying the hChi column isn't available in your houses table so goto your houses table in myphpadmin and have a look it will most likely be hWILL or something like that just simply edit it to hChi. Quote
kaine- Posted January 7, 2010 Author Posted January 7, 2010 ive changed it and it says the same thing :/ Quote
Zero-Affect Posted January 7, 2010 Posted January 7, 2010 you changed it in the query right not the sql? Quote
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.