';
$idpat=$row['id'];
$valcirculo=$row['circulo'];
// echo $encabezado;
}
$sql='Select count(id) ids from patrocinios ';
$result = mysqli_query($link, $sql);
try
{
while ($row = mysqli_fetch_assoc($result))
{$ids.=$row['ids'];
// echo $ids;
}
}
catch (Exception $e) {}
$sql='update patrocinios set circulo=circulo+1, contador=contador +1 where id='.$idpat;
$result = mysqli_query($link, $sql);
if ($valcirculo>$ids)
{
$sql='update patrocinios set circulo=1 where circulo>='.$ids;
$result = mysqli_query($link, $sql);
}
?>
1095 Directorio
Directorio social de empresas de servicio y proveedores de bienes de alta calidad
en Panamá
1014 Conservation
Removing invasive plants can increase biodiversity in stream waters recommendation
@mizaucv
1084 Birds
Birdbath, food or water? How to attract your favourite birds to your garden recommended
by@mizaucv
994 Pyton
Python vs R: 4 Implementations of Same Machine Learning Technique
676 Alimentación
Vegetales que aportan calcio. Por @blogdefarmacia