yes
but in the end i realised that i needed to specify the year as well as the month (it's for sales orders archives) so in the end i did this :
WHERE ((commandes.comm_jour > '2007-11-31')AND(commandes.comm_jour < '2008-01-01')) ORDER BY commandes.comm_jour
in fact it's like this
WHERE ((commandes.comm_jour > '".$from."-31')AND(commandes.comm_jour < '".$to."-01')) ORDER BY commandes.comm_jour
i couldn't think of a better way
thanks for your help anyway