hi brandoo,

i tested you script. This thread is very good! Congratulations !

Although i get an error of mysql_fetch_arr ay when i try to use two databases.
With only one the script works pretty fine. But as soon as i add the second connection the error show up.

/##########
Warning: mysql_fetch_arr ay(): supplied argument is not a valid MySQL result resource
############/

...