Problemas con NokTemplate

From: Date: Fri, 30 Sep 2005 12:24:01 +0000
Subject: Problemas con NokTemplate
Groups: php.general.es 
Request: Send a blank email to general-es+get-56028@lists.php.net to get a copy of this message
hola, estoy usando NokTemplate y cuando quiero sacar por pantalla el listado del resultado de una consulta a una BBDD en algunos códigos me repite la última salida. Por ejemplo: $sql="SELECT * FROM documentos2 WHERE titulo LIKE '%".$paraula."%' LIMIT ".$num.",10"; $resulta=mysql_query($sql); if ($row= mysql_fetch_array($resulta)) { do { $html->asignar('TITULO', $row[titulo]); $html->expandir('FILES', '+tFila'); } while ($row= mysql_fetch_array($resulta)); } Y me sale Titulo1 titulo2 .... titulo10 titulo10 ¿A alguien le ha pasado? -- Xavier Bernadí i Millan www.xlwebmasters.com <http://www.xlwebmasters.com> www.arc3d.net <http://www.arc3d.net>

« previous php.general.es (#56028) next »