ok ... this is done ..
thanks the legend [Unknown]

(he is a friend of mine poped up in MSN messanger after I posted this topic)
just for the record here are the problems in my code :
should have a semicolon
varibles should be in quote ' '
I put an undefined varible ($db) which isn't needed anyway ...
(I don't know how I did this stupid mistake :-[)
the . (dot) before ; is wrong ..
that's all .. now it's working perfectly ..
thanks again for [Unknown]