Just an observation: I've noticed that we're using DB_query("DELETE FROM...") a lot when we actually have a separate function for that: DB_delete | dirk at terra:geeklog-1.3> grep -r 'DB_q.*DELETE FROM' . | wc -l | 47 bye, Dirk -- http://www.haun-online.de/ http://geeklog.info/