I try to increment a field in mysql but it seems that it is not really working for some reasons ...
That is the query I run in mysql query:
UPDATE profil_perso
SET profile_views = profile_views +1
WHERE id = 30537
In the status bar it says : 1 row affected by the last command. No resultset returned. But it didn't seemed to work. At first I thougth that it was simply because there were no rows at all. So then I ran this query:
SELECT *
FROM profil_perso
WHERE id = 30537
And found 1 row and the profile_views field is still at 0...
Any ideas of why this would be that way ?
[edit] profile_views = 1 (set manually) at this moment and it still doesn't work.