
16/10/2009, 13:30
|
Colaborador | | Fecha de Ingreso: octubre-2009 Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 15 años, 4 meses Puntos: 334 | |
Respuesta: Duda Update <?php
if(!$_SESSION["votador"]){
$sql = "Update noticias Set visitas=visitas+1 where id='".$_GET['id']."'";
mysql_query($sql);
}
$_SESSION["votador"] = true;
?>
asi lo ases mas sencillo |