1: 2: 3: 4:
//connection snippet. Login-info removed for security $link = mysql_connect("host", "username", "password") or die("Could not connect : " . mysql_error()); mysql_select_db("dbname") or die("Could not select database");