i am trying to add a new column to my database, and using php have a page that updates that new column.
basically what i have is as follows:
"update data set likes = likes+1 where id = '$id'"
and that gives me an error.
but if i run the same command, except on another column, it works. any ideas on what is going on?
basically what i have is as follows:
"update data set likes = likes+1 where id = '$id'"
and that gives me an error.
but if i run the same command, except on another column, it works. any ideas on what is going on?