in PHP + mySQL
$conn = mysql_connect("server","user","pass");
mysql_select_db("datbasename");
this is what we do to open a connection. and
mysql_close($conn);
this is what we do to open a connection.
- WHAT if we don't close the connections...what are going to be the effects
- after what CONDITION the opened connections a re automatically closed