ok, forget about the @ (i deleted it for debugging).
the printed query just looks fine, as well:
SELECT * FROM clients WHERE user="myUser" AND pass=PASSWORD("myPass")
mysql_error() returns an empty string, this means, theres no mysql-error, doesn't it?
all ideas are gone..
"INSERT INTO clients (user, pass) VALUES ('test',PASSWORD('test'))" just works fine. after that query there's the right entry in the db.
i really don't get it. please let me know, if anybody got some ideas.
thx.
arndt