Innanzitutto grazie per il link 
ora c'è un altro problema però.. ho usato il codice del link che mi hai passato, ho aggiunto la creazione del db direttamente nel codice e lo crea correttamente, poi fa le insert prendendole dal file/dump da me indicato però il problema è che lo fa ogni volta che cambio pagina.
Come faccio a far sì che la creazione delle tabelle e le relative insert me le faccia solo una volta?
ah..anche un'altra cosa.. come faccio a richiedergli host, username e password per effettuare il procedimento(nel caso l'inserimento sia corretto ovviamente XD)? 
(anche se ora in locale ho root come username e nulla come password)
ti posto il codice nel caso serva:
	Codice PHP:
	
<?php  // Name of the file $filename = 'sito04_714546.sql'; 
// MySQL host $mysql_host = 'localhost'; 
// MySQL username $mysql_username = 'root'; 
// MySQL password $mysql_password = ''; 
// Database name $mysql_database = 'sito04_714546'; ////////////////////////////////////////////////////////////////////////////////////////////// // Connect to MySQL server mysql_connect($mysql_host, $mysql_username, $mysql_password) or die('Error connecting to MySQL server: ' . mysql_error()); 
$creazioneDB = "CREATE DATABASE IF NOT EXISTS Sito04_714546;"; mysql_query($creazioneDB) or die ("Errore nel caricamento del DB"); 
// Select database 
mysql_select_db($mysql_database) or die('Error selecting MySQL database: ' . mysql_error());
 // Temporary variable, used to store current query 
$templine = ''; 
// Read in entire file 
$lines = file($filename);
 // Loop through each line 
foreach ($lines as $line) { 
// Skip it if it's a comment 
if (substr($line, 0, 2) == '--' || $line == '') continue;
 // Add this line to the current segment 
$templine .= $line; 
// If it has a semicolon at the end, it's the end of the query
if (substr(trim($line), -1, 1) == ';') { 
// Perform the query 
mysql_query($templine) or print('Error performing query \'[b]' . $templine . '\': ' . mysql_error() . '
'); 
// Reset temp variable to empty
 $templine = ''; 
}
} ?>