Meilleurs Prenoms logo

A fÊter aujourd’hui

'À', 'à'=>'à', 'Á'=>'Á', 'á'=>'á', 'Â'=>'Â', 'â'=>'â', 'Ã'=>'Ã', 'ã'=>'ã', 'Ä'=>'Ä', 'ä'=>'ä', 'Å'=>'Å', 'å'=>'å', 'Æ'=>'Æ', 'æ'=>'æ', 'Ç'=>'Ç', 'ç'=>'ç', 'Ð'=>'Ð', 'ð'=>'ð', 'È'=>'È', 'è'=>'è', 'É'=>'É', 'é'=>'é', 'Ê'=>'Ê', 'ê'=>'ê', 'Ë'=>'Ë', 'ë'=>'ë', 'Ì'=>'Ì', 'ì'=>'ì', 'Í'=>'Í', 'í'=>'í', 'Î'=>'Î', 'î'=>'î', 'Ï'=>'Ï', 'ï'=>'ï', 'Ñ'=>'Ñ', 'ñ'=>'ñ', 'Ò'=>'Ò', 'ò'=>'ò', 'Ó'=>'Ó', 'ó'=>'ó', 'Ô'=>'Ô', 'ô'=>'ô', 'Õ'=>'Õ', 'õ'=>'õ', 'Ö'=>'Ö', 'ö'=>'ö', 'Ø'=>'Ø', 'ø'=>'ø', 'Œ'=>'Œ', 'œ'=>'œ', 'ß'=>'ß', 'Þ'=>'Þ', 'þ'=>'þ', 'Ù'=>'Ù', 'ù'=>'ù', 'Ú'=>'Ú', 'ú'=>'ú', 'Û'=>'Û', 'û'=>'û', 'Ü'=>'Ü', 'ü'=>'ü', 'Ý'=>'Ý', 'ý'=>'ý', 'Ÿ'=>'Ÿ', 'ÿ'=>'ÿ'); function connexion($usertable){ include('/home/mamafish/mysqlpwd/dbpassword.php'); $hostname = "localhost"; $dbName = "mamafish_prenoms"; $link = MYSQL_CONNECT($hostname, $username, $password) OR DIE( "Unable to connect to database"); @mysql_select_db( "$dbName") or die( "Unable to select database"); return $link; } function recupinfo($query,$i){ $tabinfo=array(); $tabinfo["prenoms"] = mysql_result($query,$i, "prenoms"); $tabinfo["ref_prenoms"] = mysql_result($query,$i, "ref_prenoms"); $tabinfo["sex"] = mysql_result($query,$i, "sex"); $tabinfo["origine"] = mysql_result($query,$i, "origine"); $tabinfo["ID_geo"] = mysql_result($query,$i, "ID_geo"); $tabinfo["complement1"] = mysql_result($query,$i, "complement1"); $tabinfo["complement2"] = mysql_result($query,$i, "complement2"); $tabinfo["complement3"] = mysql_result($query,$i, "complement3"); $tabinfo["fete"] = mysql_result($query,$i, "fete"); $tabinfo["attribution"] = mysql_result($query,$i, "attribution"); $tabinfo["arrondi_porte"] = mysql_result($query,$i, "arrondi_porte"); $tabinfo["rang_porte"] = mysql_result($query,$i, "rang_porte"); $tabinfo["character1"] = mysql_result($query,$i, "character1"); $tabinfo["character2"] = mysql_result($query,$i, "character2"); $tabinfo["character3"] = mysql_result($query,$i, "character3"); $tabinfo["character4"] = mysql_result($query,$i, "character4"); $tabinfo["character5"] = mysql_result($query,$i, "character5"); $tabinfo["premiere"] = mysql_result($query,$i, "premiere"); $tabinfo["derniere"] = mysql_result($query,$i, "derniere"); $tabinfo["numchar"] = mysql_result($query,$i, "numchar"); $tabinfo["numsyl"] = mysql_result($query,$i, "numsyl"); $tabinfo["prenoms_caps"] = mysql_result($query,$i, "prenoms_caps"); return $tabinfo; } function statistique(){ global $search; global $stat; $usertable = "tablestats2012"; $link=connexion($usertable); $query =mysql_query( "SELECT prenoms FROM $usertable where prenoms=\"$search\""); mysql_close ($link); $nombreligne_stats = mysql_num_rows($query); if ($nombreligne_stats) { $stat_test = str_replace("é", "e", $search); $stat_test = str_replace("è", "e", $stat_test); $stat_test = str_replace("ê", "e", $stat_test); $stat_test = str_replace("ç", "c", $stat_test); $stat_test = str_replace("ë", "e", $stat_test); $stat_test = str_replace("à", "a", $stat_test); $stat_test = str_replace("ò", "o", $stat_test); $stat_test = str_replace("ó", "o", $stat_test); $stat_test = str_replace("ï", "i", $stat_test); $stat = true; } return $stat_test; } function display_prenom($info,$variant_display,$variants_for_display) //$variant_display is number of variants { global $prenomcompose; global $tabpicto; global $couleur; global $couleur2; global $cle; global $rajout; global $search; include "/home/mamafish/public_html/display_ety.html"; } if($search <> "") { $usertable = "prenoms2013"; $link=connexion($usertable); $rajout = ""; $sex=""; $couleur=''; $cle=0; //$message=""; $tiret_pos = strpos($search,"-"); $tiret_deux = strpos($search,"-",($tiret_pos +1)); // echo "$tiret_pos deuxieme pos $tiret_deux
"; if (($tiret_pos > 0) && ($tiret_deux <= 0)) { $prenomcompose=true; $prenom_longeur = strlen($search); $premier_prenom = substr($search,0,($tiret_pos)); $deuxieme_prenom = substr($search,$tiret_pos+1,($prenom_longeur-$tiret_pos)); //begin premier prenom $query=mysql_query( "SELECT * FROM $usertable where prenoms=\"$premier_prenom\""); $nombreligne1 = mysql_num_rows($query); //below this is the function for no record!! if ($nombreligne1) { $i = 0; $info=recupinfo($query,$i); $sex = $info['sex']; }//end premier prenom //begin deuxime prenom $query=mysql_query( "SELECT * FROM $usertable where prenoms=\"$deuxieme_prenom\""); $nombreligne2 = mysql_num_rows($query); //below this is the function for no record!! if ($nombreligne2) { $i = 0; $info2=recupinfo($query,$i); } //end deuxieme prenom }else { //pas prenom compose if (strlen($sexe) == 0) {$query = mysql_query( "SELECT * FROM $usertable where prenoms=\"$search\""); $previous_mixte = 0; } else { $previous_mixte = 1; $query = mysql_query( "SELECT * FROM $usertable where prenoms=\"$search\" and sex = \"$sexe\""); $dominant_sexe = $sexe; } $nombreligne = mysql_num_rows($query); if ($nombreligne > 1 ) { //echo "prenom mixte"; $arrondi_porte1 = mysql_result($query,0, "arrondi_porte"); $arrondi_porte2 = mysql_result($query,1, "arrondi_porte"); //echo "port1 port2 $arrondi_porte1 $arrondi_porte2"; $sexe1 = mysql_result($query,0, "sex"); $sexe2 = mysql_result($query,1, "sex"); if ($arrondi_porte1 > $arrondi_porte2) // dominant sex { if ($sexe1 == "M") // dominant sex { $query_i = 0; $dominant_sexe = "M"; // masculin dominates } else { $query_i = 0; $dominant_sexe = "F"; // feminin dominates } } else { if ($sexe2 == "M") // dominant sex { $query_i = 1; $dominant_sexe = "M"; // masculin dominates } else { $query_i = 1; $dominant_sexe = "F"; // feminin dominates } } } if ($nombreligne) { $info=recupinfo($query,$query_i); $sex = $info['sex']; $arrondi_porte = $info['arrondi_porte']; if ($info['ref_prenoms']!='') { $variant_display = 0; $ref_prenoms = $info['ref_prenoms']; $query_variant= mysql_query( "SELECT prenoms, prenoms_caps FROM $usertable where ref_prenoms=\"$ref_prenoms\" ORDER BY prenoms"); $nombre_variant = mysql_num_rows($query_variant); for ($i =0; $i < $nombre_variant; $i++) { $prenoms_caps_variant = mysql_result($query_variant,$i, "prenoms_caps"); $prenoms_variant = mysql_result($query_variant,$i, "prenoms"); if ($prenoms_caps_variant <> $info['prenoms_caps']) { $variant_display++; //echo "$variant_display"; $htmlprenoms = strtr($prenoms_variant, $ent); $variants_for_display[$variant_display] = $htmlprenoms; //echo "$variants_for_display[$variant_display]
"; } } } } //echo "nombreligne $nombreligne"; if (($nombreligne > 1 ) || ($previous_mixte == 1)) { //echo "dominant sex $dominant_sexe"; if ($dominant_sexe == "M") // show link of opposite sex { $rajout = "voir $search au féminin."; } else { $rajout= "voir $search au masculin."; } //echo $rajout; } mysql_close($link); }//end pas vide } ?>

fiche prÉnom

OK
Merci de saisir un prénom

"; } else { ?>

"; } ?>

"; echo "

Le premier prénom n'existe pas notre base de données

"; echo "
"; } else { display_prenom($info,$variant_display,$variants_for_display); } echo "
"; if(!$nombreligne2) { echo "
"; echo "

Le deuxième prénom n'existe pas notre base de données

"; echo "
"; } else { display_prenom($info2,$variant_display,$variants_for_display); } } else{ if(!$nombreligne) { echo "
"; echo "

Le prénom $search n'existe pas dans nos bases de données

"; echo "
"; } else { //echo "variant $variant_display"; display_prenom($info,$variant_display,$variants_for_display); } } } ?>


Mais ce prénom est recensé en France. Voir la popularité de


Pour tout savoir sur les prénoms,
consultez l'Officiel des prénoms 2015 (éditions First).

Voir la popularité de :

200) { ?> Pour tout savoir sur les prénoms,
consultez l'Officiel des prénoms 2015 (éditions First).