Hello,
about 3 months ago I made simple chat using MySQL++ which is working fine, login function:
but today I'm creating Control Panel, I've copied and changed this function a little bit, but i'm getting 0 results (if I copy syntax to navicat I'll get password so...)
login function: http://pastebin.com/XmzdVzFx
the problem is that result.size is 0, even if I have right username in DB
queryy += "SELECT * FROM accounts WHERE login = '";
queryy += lUsername;
queryy += "'";
navicat and chat are returning 1 result (which is right)
lUsername is right (I made a check with MessageBox)