Fortael
Fortael

Reputation: 322

Why sql cannot see the column?

Unknown column 'ft_template' in 'field list

For some reason, this happens. I could print whole request and copy. So it's works if i execute it manually. But in case of php i got this error. It's here

enter image description here

But

UPDATE `portal_settings` SET `ft_template`='123' WHERE `id` = 1;

didn't work.

There is work. In php not.

enter image description here

Upvotes: 1

Views: 43

Answers (1)

tomSurge
tomSurge

Reputation: 256

Copy paste this and see if it works:

"UPDATE portal_settings SET ft_template='123' WHERE id = 1"

Upvotes: 1

Related Questions