Et bien tu ne peux pas ré-exécuter une requête UPDATE qui ajoute 1 à tout tes champs sauf celui-la? Style:
Code :
UPDATE table SET position = position + 1
WHERE id <> '$id' "
Thread profile page for "problème update sur plusieurs champs" on http://www.developpez.net.
This report page is a snippet summary view from a single thread "problème update sur plusieurs champs", located on the Message Board at http://www.developpez.net.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity
| |||||||||||||||||||||||