$titol_noti
\n".
"$text_noti
\n".
"Data de publicaci�: $html_data\n".
"
";
}
$consulta = "select * from abr04noticies where data_pub_noti < $avui";
$resultat = mysql_query ($consulta, $servidor) OR die ("No puc connectar");
$numresultat = mysql_num_rows ($resultat);
$n_pagines = $numresultat / $n_pag;
$tmp_n_pagines = $n_pagines;
settype ($tmp_n_pagines, "integer");
if ($tmp_n_pagines != $n_pagines)
{
$n_pagines = $tmp_n_pagines + 1;
}
$control = "0";
for ($a=1;$a<$n_pagines+1;$a++)
{
$linia .= "$a ";
$control = $control + $n_pag;
}
mysql_close ($servidor);
?>