UPDATE xoops_vp_videos SET views = 1 WHERE id = > SQL Error in function :: updateVideoViews(,1)