Stupid question, how do you get to meo webmail? It's probably one of the messages that's messing up the interface. Do you remember the last message that you were able to read? As for the PHP and MySQL problem, I'd assume that there is something wrong with your file if you use the same code in other places successfully. Does PHP return a database error message saying why it could not connect? Try paring down your file into just the database routines and debug that portion. Dean Lachlan Cannon writes: > Whenever I try to view any emails in my 'thechat' folder, meo > webmail stops working - nothing loads, until the next login. I can't > even delete the messages. This started happening yesterday. > > Also, while I'm on that topic, meo webmail has always got slashes > delimiting quotes, slashes in mails - an extra stripslashes needs to > be added somewhere. > > Ahh, and on an unrelated to meo webmail note - php isn't connecting > to mysql in one of my files. I'm trying to get my template file to > read the css files from mysql for insertion into the template, and > the db is connecting but not selecting the db, even though it's the > same code I use everywhere else - php bug, or something else?