Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Mostrar variables

 
Post new topic   Reply to topic    Smarty Forum Index -> Language: Spanish
View previous topic :: View next topic  
Author Message
piropeator
Smarty Rookie


Joined: 31 Oct 2007
Posts: 22

PostPosted: Fri Jul 09, 2010 10:32 pm    Post subject: Mostrar variables Reply with quote

Quiero mostrar registros con checkbox, las variables vienen desdel el PHP y quiero ingresarlos en una plantilla Smarty.

Cómo debo utilizar el formato del checkbox para mostrar el valor de mis variables??

En el PHP:
$resultado=mysql_query("SELECT id_item, nom_item, fec_item FROM items");
$row = mysql_fetch_array($resultado);

En el TPL (Smarty)
<input type="checkbox" name="Seleccion[]" value="">

Cómo ingreso el valor en el formato ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Language: Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP