![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
04/08/2008, 15:13
|
![Avatar de jamesjara](http://static.forosdelweb.com/customavatars/avatar237398_1.gif) | | | Fecha de Ingreso: mayo-2008 Ubicación: san jose
Mensajes: 449
Antigüedad: 16 años, 9 meses Puntos: 7 | |
sumar en php <input name="campo" type="text" id="matricula"
value="<?php
$num1 = $row_rela['MAX(numero)'];
$num2 = 2;
$resultado = $num1 + $num2;
echo $resultado ;
?>" size="7" readonly="readonly" />
BUENO ESO ES LO QUE TENGO PERO NO ME SIRVE SOLO ME DA EL NUMERO MAS GRANDE PERO NO ME LO SUMA
Alguien me explica porque o una solucion¿
__________________ X7CLOUD El webservice latino!
Compatible con mysql,sql,sqlitte. Compatible con extjs , sencha , smargwt, Gwt , Jquery , Charts, Streaming. |