idx, thanx for the info. It makes more sense now.
Do the include statments have to be in each function? Or just at the begining of the file?
The one function file is working good, but I have a file that has a few functions in it and it's not working right.
Edit: Wow, I should really try things before I post. If I put the include statments inside the function, it works like a charm!
Another quick question, what about a mysql_close() statment? Shouldn't the DB be closed?
Thanx again for all of your help!