Ver Mensaje Individual
  #94 (permalink)  
Antiguo 03/05/2010, 04:51
Avatar de Flow89
Flow89
 
Fecha de Ingreso: abril-2010
Ubicación: Valladolid
Mensajes: 346
Antigüedad: 14 años
Puntos: 1
Respuesta: Gestor de Noticias para HTML con PHP [novato]

Uff, error. xD

Warning: date() expects parameter 2 to be long, string given in /home/a7366460/public_html/index.php on line 168

te copio codigo:

Código PHP:
while($row=mysql_fetch_array($result)) {
      echo 
"<span class=\"Estilo35\"><img src=\"imagenes/prueba2.png\" width=\"50\" height=\"50\">".$row[titulo]."</span><br><p>".$row[noticia]."</p><br><div>".$row[autor]." | "
      
.$row[date("m.d.y",fecha)]." | ".$row[categoria]." | <a href=\"noticias/editar.php?id=".$row[id_noticia]."\">editar</a></div><br><div align=\"center\"><img src=\"imagenes/separador.png\" width=\"400\" height=\"15\"></div>"