Hi Sebastian!
can some pls check for $rs and make the code a little bit more clear about this variable?
$rs holds the variable reference to the Database connection handler (=ressource) of the executed query statement.
i have given up trying to fully understand whats going with this variable ...
What exactly are you trying to understand? Maybe we can give you a better clue then?
Best regards, Garvin