RE: [SMARTY] How I do this
"Reynier Perez Mira" <[email protected]>
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
I not understand? Can you be more explicit ? Reynier Pérez Mira 3er. año Ing. Informática -----Mensaje original----- De: messju mohr [mailto:[email protected]] Enviado el: Monday, June 13, 2005 12:36 PM Para: Reynier Perez Mira CC: Chris Ramsay; [email protected] Asunto: Re: [SMARTY] How I do this On Mon, Jun 13, 2005 at 11:02:39AM -0400, Reynier Perez Mira wrote: > Well this is part of my tpl file: > =================================================== > <tr> > <td align="right">{#UCODIGO#|escape:"htmlall"}</td> > <td><input name="usecuritycode" type="text" id="usecuritycode" size="16" maxlength="16"/><img src="../includes/gen-codigo.php"></td> > </tr> > =================================================== > Is this that you say me ??? This not show nothing? How can I solve it? the page generating the image has to be addressed relative to the page that produced the html-output (index.php or the like), not relative to the template. > Reynier Pérez Mira > 3er. año Ing. Informática > > -----Mensaje original----- > De: Chris Ramsay [mailto:[email protected]] > Enviado el: Monday, June 13, 2005 10:37 AM > Para: Reynier Perez Mira > CC: [email protected] > Asunto: Re: [SMARTY] How I do this > > You could assign the string "gen-codigo.php" to your template..., so > in your template it looks like >> > > <img src="{$gen_codigo}"> > > > raz > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php