I new in Smarty
| From: | Reynier Pérez Mira | Date: | Tue, 01 Mar 2005 04:32:11 +0000 |
| Subject: | I new in Smarty | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12279@lists.php.net to get a copy of this message | ||
Hi list:
I new in this list. Few days ago I read something about SmartyTemplates and it's really good.
So ... I will to start programming mysites using Smarty. I have some questions in how to use it. For
exampleif I have a variable defined in this form $SMARTYTPL and I assign tothis more than one cell
how I do this. See a piece of code HTML that Iwill have to asign to this var:
$table = "<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>";
$smarty->assing("SMARTYTPL",$table);
and this show me this table when I compile the index file ?
Regards ;(
Reynier Pérez Mira
---------------------------------