Tack för hjälpen. Det fungerade med att byta ut pconnect mot connect på ett ställe. Behöver jag inte stänga uppkopplingen till databasen vid något tillfälle då?
Som tidigare påpekat sköter PHP det automatiskt.
Citat:
Using mysql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution.