MySQL query returns ERROR 1054 (???)

admin

Administrator
Staff member
This query returns an odd error:

SELECT * FROM table_name WHERE user_id = __

I get: ERROR 1054 Unknown column ___ in WHERE clause. The column the error referances is the value I've entered in user_id.

Any ideas?

Pete

(I just "inherited" this project so I'm just getting up to speed with it.)
 
Back
Top