RE: [SMARTY] How I do this
| From: | Reynier Perez Mira | Date: | Mon, 13 Jun 2005 18:11:42 +0000 |
| Subject: | RE: [SMARTY] How I do this | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12683@lists.php.net to get a copy of this message | ||
I not understand? Can you be more explicit ?
Reynier Pérez Mira
3er. año Ing. Informática
-----Mensaje original-----
De: messju mohr [mailto:messju@lammfellpuschen.de]
Enviado el: Monday, June 13, 2005 12:36 PM
Para: Reynier Perez Mira
CC: Chris Ramsay; smarty-general@lists.php.net
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:raz.net@gmail.com]
> Enviado el: Monday, June 13, 2005 10:37 AM
> Para: Reynier Perez Mira
> CC: smarty-general@lists.php.net
> 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