can some pls check for $rs and make the code a little bit more clear about this variable? i have given up trying to fully understand whats going with this variable ... -- Sebastian Mendel www.sebastianmendel.de www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet