Ver Mensaje Individual
  #31 (permalink)  
Antiguo 23/05/2012, 15:56
kfh1992
 
Fecha de Ingreso: diciembre-2011
Mensajes: 414
Antigüedad: 12 años, 5 meses
Puntos: 1
Respuesta: Uusarios online

Ahora si que estarian definidas de esta manera no?

<?php
include("config.php");
$mail=$_GET['mail'];
$password=$_GET['password'];
mysql_query("UPDATE users SET online=0 WHERE mail='$mail' and password='$password' ") or die (mysql_error());
session_start();
session_unset();
session_destroy();
header("Location: index.php");
?>