$connexion = mysql_connect('localhost', 'web_virgo', '')
or die ("Error: connection at MySQL servor wasn't able");
$db = mysql_select_db("web_virgo", $connexion)
or die ("Error: connection at the database wasn't able");
$sql = "SELECT * FROM `virgo_visites`";
$req = mysql_query($sql) or die('Erreur SQL !
'.$sql.'
'.mysql_error());
$data = mysql_fetch_assoc($req);
$data[nb]++;
$sql1 ="UPDATE `virgo_visites` SET `nb` = '$data[nb]' WHERE CONVERT(`page` USING utf8) = '$_GET[page]' LIMIT 1;";
$req1 = mysql_query($sql1);