07.07.2015, 20:35
It is important to note that if both scripts connect to the same database with the same user and the same password then both scripts will use the same connection handle and hence mysql_close will close the connection in both scripts. This is important to note as it can obviously cause problems. This behavior can be disabled with the "duplicate connections" option.