![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
17/01/2009, 14:41
|
(Desactivado) | | Fecha de Ingreso: diciembre-2008
Mensajes: 421
Antigüedad: 16 años, 1 mes Puntos: 0 | |
Respuesta: Consultas Mira hice esto :::
include("../conectar.php");
$link = Conectarse();
$id = $_POST['id'];
// $nick = $_POST['nick'];
// $contrasena = $_POST['contrasena'];
// $nombre = $_POST['nombre'];
$result = mysql_query("select * from login3 ",$link);
if ($result == 0){
?>
<li><a href=registro.html> tu formualrio </a></li>
<?php
mysql_query("Update login3 Set veo = '1' Where nick= '$nick'");
}
else
{
echo "ya esta su registro " ;
}
Me sale para todos que ya han llenado pero no entiendo pq no hace el update no cambia de 0 a 1 |