![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/08/2009, 13:10
|
| | Fecha de Ingreso: noviembre-2005
Mensajes: 44
Antigüedad: 19 años, 3 meses Puntos: 0 | |
Respuesta: problema modificar formulario No tiene ningun misterio...
<?
include("conex.php");
$link=Conectarse();
$varid =$_GET['idmod'];
$vartexto =$_GET['texto'];
$vartitu =$_GET['titulo'];
$varfecha =$_GET['fecha'];
$vartitulo = strtoupper($vartitu);
mysql_query("Update noticias Set texto='$vartexto', titulo='$vartitulo', fecha='$varfecha' Where id = ".$_GET['idmod'],$link);
mysql_close($link);
?>
si se modifica un texto de menos de 512 caracteres ( 512 incluido) lo hace sin ningun problema. |