Ver Mensaje Individual
  #4 (permalink)  
Antiguo 31/07/2008, 19:39
Avatar de Ronruby
Ronruby
 
Fecha de Ingreso: julio-2008
Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 15 años, 9 meses
Puntos: 416
Respuesta: problemas en php

$suma=$_SESSION['s_coin'] + $_REQUEST['p1'];
$query="update user set coin='".$suma."' where user='".$_SESSION["s_username"]."'";
mysql_query($query) or die(mysql_error());