RE: [PHP-ES] Problemas con la Clase PEAR DB

From: Date: Mon, 11 Apr 2005 21:54:48 +0000
Subject: RE: [PHP-ES] Problemas con la Clase PEAR DB
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-54074@lists.php.net to get a copy of this message
Pregunta ilusa: No resulta ser mas complejo aun el uso de templates que de codigo php? Digo, php es tan sencillo que hacer templates para php me parece poco sensato.
SmartyPaginate::connect(); SmartyPaginate::setLimit(5); $gbresult = $database->query("SELECT * FROM libro_de_visitas LIMIT " . SmartyPaginate::getCurrentIndex() . "," . SmartyPaginate::getLimit()); $gbtotal = $database->query("SELECT COUNT(*) AS total FROM libro_de_visitas"); $gbtotal->fetchRow(); SmartyPaginate::setTotal($gbtotal['total']);
Saludos, Grenville Tryon La primera revista php & MYSQL en el Peru http://www.phpperu.com webmaster@phpperu.com _________________________________________________________________ MSN Latino: el sitio MSN para los hispanos en EE.UU. http://latino.msn.com/

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