generation-jdr/lib/nomgnome.php
2017-08-28 21:27:49 +02:00

9 lines
250 B
PHP

<?php
function getnomgnome()
{
$nombre_de_noms = rand(1, 4);
$table2 = db_get_random_partial_values("nomgnome1", $nombre_de_noms);
$table3 = db_get_one_random_partial_value("nomgnome2");
return ucfirst(join($table2, "") . $table3);
}