Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Mostrar variables

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Spanish
View previous topic :: View next topic  
Author Message
piropeator
Smarty Rookie


Joined: 31 Oct 2007
Posts: 26

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:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    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