Max User Connections Error

Hey, I posted the following message in the PHP forum and they said I should post here:

Hey Guys,

Can anyone please help me understand why I am getting this error when there is about 20 people on the site at one time.

The only thing I can think is that I have the db connection intialized in a include file (includes/header.php) and the db connection closed in an include file (includes/footer.php)

Should this still work, I dont see how I can be going over the max connections?

According to them, even if the close connection isnt called, PHP will close the connection at the end of the script anyways.

What else could be causing me to get this fatal error, any ideas?