UPDATE `hgarticlerate` SET votes = votes + 1 , score = votes / ( '$vote' + score ) WHERE articleid = '15';