Alright guys, I am totally 100% all and out stumped on this. It makes absolutely NO sense to me.
I have google'd quite a bit for a solution. I've come across many similar problems, the fixes range from adding different quotes, ticks, and as well as making sure the column doesn't have a space in its name.
If I run the following query directly in phpMyAdmin :
SELECT `salt` FROM `users` WHERE `username`='beezm';
It works fine. Returns my result.
When I try running it from a script of my own, it errors out and gives me
Unknown column 'salt' in 'field list'
Makes no sense. If my query was wrong, why does it run fine when I enter it manually ?!
Aggghhhh!!! I am done for tonight, making this post and heading off to bed. Any suggestions would be GREATLY appreciated.