Ver Mensaje Individual
  #12 (permalink)  
Antiguo 01/05/2012, 12:34
Avatar de andreshenao
andreshenao
 
Fecha de Ingreso: enero-2009
Ubicación: Medellìn
Mensajes: 417
Antigüedad: 15 años, 3 meses
Puntos: 7
Respuesta: Error en mysql_query

un gran saludo a todos.

les cuento que esto ya me tiene un poco incomodo hace tiempos que no tenia estas dificultades.
actualice todo lo que me comentaron y nada.
De todas maneras gracias por su gran ayuda.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.46.89)' at line 2


echo $online_exist;
mysql_query("INSERT INTO online (onlineid , onlineuser,lastdate, ip) VALUES
(".$_SESSION['k_id'].",".$_POST['username'].",".time().",".$_SERVER['REMOTE_ADDR'].")") or die (mysql_error());
__________________
-----------------
Hosting Medellin
Diseño web medellin