Ver Mensaje Individual
  #5 (permalink)  
Antiguo 16/08/2003, 17:28
Tebb
 
Fecha de Ingreso: agosto-2003
Mensajes: 72
Antigüedad: 23 años, 1 mes
Puntos: 1
Np problem solved,
hice esto:

Código PHP:
<?

include("config.php");

$usr = "Tebb";
$msgtagg = mysql_query("select mensajestag from usuarios where nick='$usr'") ;
$datos = mysql_fetch_array($msgtagg) ; 

echo
"$datos[mensajestag]";
echo
"<br>";

$suma = $datos[mensajestag] + "10";

echo 
"$suma";

mysql_query("update usuarios set mensajestag='$suma' where nick='$usr'");

mysql_close($conectar) ;

?>
era que necesitava una array para cojer los datos =D