using mysql_connect instead of mysql_pconnect in the connection shouldn't be an issue.
By default Dreamweaver uses persistent connections. A persistent connection will get reused if it is open whereas mysql_connect will create a standard connection which needs to be re established for each page that loads.


