UPDATE a_albums SET ratingPts = (ratingPts + $formRating), ratingNum = (ratingNum + 1) WHERE albumID = $formAlbumID;
I'm trying to increase the values of two columns in "a_albums"... ratingPts gets increased by a variable returned from the user, and ratingNum gets increased by 1. Anybody know what I'm doing wrong here? Everything looks right... ?
I'm trying to increase the values of two columns in "a_albums"... ratingPts gets increased by a variable returned from the user, and ratingNum gets increased by 1. Anybody know what I'm doing wrong here? Everything looks right... ?