Thanks for the prompt reply. When I try to log into the admin area, I can't even do that. The admin page doesn't come up, so I can't put in the username or password. I did replace the "global.php" with the new one I found in a thread about that.
Now, I can't log into the new gallery "Background1" either; no admin log in page, but the 2 galleries I have for the database work fine online. Below is the error message when I try to log into this admin now. I have logged into my web host and checked the databases and they seem to be ok. I haven't changed any usernames or passwords.
"Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/carscla2/public_html/Background1/admin_gallery/global.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/carscla2/public_html/Background1/admin_gallery/global.php:37) in /home/carscla2/public_html/Background1/admin_gallery/index.php on line 6"