Unknown column '$' in 'where clause'36