|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
piropeator Smarty Rookie
Joined: 31 Oct 2007 Posts: 26
|
Posted: Fri Jul 09, 2010 10:32 pm Post subject: Mostrar variables |
|
|
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 |
|
|
|
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
|