Salve ho tre pagine la principale page1.php poi una pagina di inclusione include.php e la pagina database db.php

db.php
Codice PHP:
$host="localhost";
$user="root";
$password="";

$db="audit_db";

$dbconn=mysql_connect($host,$user) or die (mysql_error()." errore connessione database");
mysql_select_db($db,$dbconn) or die (mysql_error()." errore selezione database"); 
include.php
Codice PHP:
include("db.php");

$QueryH=mysql_query("SELECT FirstName, LastName, Company FROM setting") or die (mysql_error()." errore estrazione heading");
$firstname=mysql_result($QueryH,0,0);
$lastname=mysql_result($QueryH,0,1);
$company=mysql_result($QueryH,0,2);
mysql_free_result($QueryH);

echo (
$company!="") ? $company "$firstname $lastname"
page1.php
Codice PHP:
include("include/heading.php"); 

mi da questo errore:
No database selected errore estrazione heading

cosa sbaglio?