Réponse acceptée !
Bonjour,
Ta colonne timestamp est de quel format?
Si elle était reelement sous un format timestamp, tu pourrais faire :
SELECT * FROM tablelog WHERE `table`='layouts' AND `row`='1' AND `action`='1' AND `timestamp`=(SELECT MAX(timestamp) FROM tablelog)
Sinon, tu peux essayer de trier ton tableau suivant le timestamp et lire la premiere ligne, mais je ne sais pas si ca te retourneras la bonne valeure :
SELECT * FROM tablelog WHERE `table`='layouts' AND `row`='1' AND `action`='1' ORDER BY `timestamp` DESC LIMIT 1
Bonne prog 