I had a prototype of my website working correctly, meaning it connected to the database correctly. This was done with just one file called "connect.php" which had mysql_connect() and such inside it. I then separated the connect information into to separate files, one containing the account information (account.php) and one containing the connect function (connect.php), with correct information (I triple checked) and it isn't connecting properly. All I can think of is that I'm not including it the right way. This is what I have in a file:
<?php
include('account.php');
include('connect.php');
include('functions.php');
.....
?>
Edit: I would first like to thank everyone for the down-votes, you're all so supportive. Secondly, I seemingly fixed my problem by changing single quotes to double quotes with the include() function and a deleted a few excess spaces. I'm not quite sure how this changed anything, but apparently it had.