I'm trying to update a field where username = $username
UPDATE userinfo SET password = $newpass WHERE username = $username
However, I'm getting the error "#1054 - Unknown column 'bob' in 'where clause'" when I replace $username with bob.
Any idea how to correctly write this?