php - Can't update row in database -
I try to update a line in the database, but I can not do this Here's my SQL:
$ sql = "UPDATE` voter_name_imount_tount` SET` volume` = quantity + 1 where` tender` = '$ nid' and nominee = '$ named'; " ; I suspect that the problem is here - and the nominee = '$ Named' ''; Because when I remove all functions and updates from the query correctly, please help.
Try this:
$ sql = "UPDATE voting_nomination_counter set quantity = Quantity + 1 Where Nadil = '$ Nid' and nominee = '$ Nominated' '' ';
Comments
Post a Comment