Jump to content

Unknown column


floridaflatlander

Recommended Posts

I keep getting an unknown column error and I've been staring at this for hours.

I've checked and double checked the column names(all are lower case) even copied and pasted them from the table to the sql but I keep getting the same error.

When I remove the referral_code = fa4cc5218dc647ee7345c84103938812 it works but I need that to update the right record.

 

The sql is

UPDATE emails SET joined = 1, id = 80 WHERE referral_code = fa4cc5218dc647ee7345c84103938812 AND mem_id = 26

 

error
Unknown column 'fa4cc5218dc647ee7345c84103938812' in 'where clause

 

 

Thanks in advance

s

Link to comment
https://forums.phpfreaks.com/topic/287677-unknown-column/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.