MySQL 1054 error

ryanmm

Member
Messages
38
Reaction score
0
Points
6
#1054 - Unknown column '$var' in 'field list'

Anybody ever get a 1054 error from mysql? Im having this very strange problem, when i try to insert letters, i get this error, but when i try to insert numbers it works fine. The field is type VARCHAR, so it should take both.

The letters are being entered as a string variable.

---------- Post added at 03:54 PM ---------- Previous post was at 02:51 PM ----------

Nevermind. had to echo out some " around the variable
 
Top