Ver Mensaje Individual
  #14 (permalink)  
Antiguo 17/05/2011, 11:58
martin0290
 
Fecha de Ingreso: octubre-2009
Mensajes: 84
Antigüedad: 14 años, 6 meses
Puntos: 0
Respuesta: [Últimos 10 Resultados] Php y SQL, no salen =(

$articulos = $db->query("SELECT title, date FROM ".PREFIX."_post WHERE autor='".$row['name']."' order by date DESC LIMIT 0,10");
while ($row = $db->get_row($articulos)) {
$tpl->set('{articulos}', $row['title']);
}


Exactamente tiene while