=now() "; $verso="ASC"; } ?> News - Foodie

FOODIE News

0){ $totpagine=$totpagine+1; } $da=0; $pag=1; if($_REQUEST['pageID']!=""){ $pag=$_REQUEST['pageID']; } $da=$elementixpag*($pag-1); //echo("
TOT: ".$totrecord."
"); $sql="SELECT * FROM news WHERE flag_pubblicazione='Y' ".$wheren.$wherearc." ORDER BY data ".$verso." LIMIT ".$da.",".$elementixpag; //echo("

".$sql); $rs=mysql_query($sql); while($ar=mysql_fetch_array($rs)){?>