srand ((double) microtime() * 1000000);
$randomnumber = rand(0,17);
echo "";
?>
|
|
echo "
Regioni |
|
|
";
$query_r = mysql_query("Select * from tregione order by rand()");
while ($regg = mysql_fetch_array($query_r))
{
echo "$regg[descrizione] Incontri ";
}
echo" |
|
";
?> |
|
|
|
echo stripslashes(ucwords($titolo1)); ?> |
|
|
$query5 = mysql_query("Select * from annunci order by rand() limit 0,1");
while ($an = mysql_fetch_array($query5))
{
echo "Messaggio dal prive' ";
echo $an[descrizione];
}
?> |
|
|
|
|
|
Club incontri gratis echo stripslashes($regione); ?> |
|
srand ((double) microtime() * 1000000);
$randomnumber1 = rand(4,6);
$randomnumber2 = rand(10,12);
$randomnumber3 = rand(16,18);
$randomnumber4 = rand(12,24);
$randomnumber5 = rand(28,30);
$randomnumber6 = rand(34,36);
?>
|
|
|
|
|
|
|
|
Altre ricerche: |
|
if (empty($parole))
{
$query = mysql_query("Select * from $tabella order by rand()");
while ($par = mysql_fetch_array($query))
{
echo "".ucwords($par[descrizione])." - ";
$alt .= $par[descrizione]." ".time()." ";
}
}else
{
if ( empty($regione) and empty($provincia) and empty($comune))
{
$query = mysql_query("Select * from tregione order by rand()");
while ($reg = mysql_fetch_array($query))
{
echo "".ucwords($parole)." $reg[descrizione] - ";
$alt .= $reg[descrizione]." ".$parole." ".time()." ";
}
} else if (!empty($regione) and empty($provincia) and empty($comune))
{
$query2 = mysql_query("Select * from tprovincia where tregione = '$tregione' order by rand()");
while ($prov = mysql_fetch_array($query2))
{
echo "".ucwords($parole)." $prov[descrizione] - ";
$alt .= $regione." ".$parole." ".time()." ";
}
} else if ( !empty($regione) and !empty($provincia) and empty($comune))
{
$query3 = mysql_query("Select * from tcomune where tprovincia = '$tprovincia' order by rand()");
while ($com = mysql_fetch_array($query3))
{
echo "".ucwords($parole)." $com[descrizione] - ";
$alt .= $regione." ".$parole." ".$provincia." ".time()." ";
}
}
else if ( !empty($regione) and !empty($provincia) and !empty($comune))
{
$query3 = mysql_query("Select * from tcomune where tprovincia = '$tprovincia' order by rand()");
while ($com = mysql_fetch_array($query3))
{
echo "".ucwords($parole)." $com[descrizione] - ";
$alt .= $comune." ".$parole." ".$provincia." ".time()." ";
}
}
}
?>
|
|
|
|