I'm trying to fit the follwing SQL Query in ->updateByPk()
UPDATE `tb_image` SET `views` = `views` + '1' WHERE `idImage` = 1;
For some reason I can't get it to work with updateByPk()..
Can anybody help?
Posted 04 April 2011 - 11:05 AM
Posted 04 April 2011 - 01:12 PM