Ver Mensaje Individual
  #3 (permalink)  
Antiguo 07/02/2006, 14:11
ci2000
 
Fecha de Ingreso: abril-2005
Mensajes: 483
Antigüedad: 21 años, 6 meses
Puntos: 3
Código PHP:
$criterio = " where Aviso like '%" . $txtcriterio . "%'"; 
$ssql = "select *,DATE_FORMAT(Fecha_Publicacion, '%d/%m/%Y') as publicado from avisos " . $criterio . " ORDER BY Fecha_Publicacion DESC";
$rs = mysql_query($ssql); 

$fila = mysql_fetch_array($rs, $conexion);
            
echo  
"<input type=\"text\" name=\"titulo\" value="; echo $fila['Titulo']; echo ">";