i believe that once you are including conn.php you dont need to keep connecting to the db over and over again, therefore
code:
$result = mysql_query($query_string, $conn);
should actually be
code:
$result = mysql_query($query_string);
and acutally even in conn.php remove $conn from
code:
mysql_select_db("dbname", $conn);