[SMARTY] {php} and assign()
"Fredrik Arild Takle" <[email protected]>
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
Hi there,
inside a template I do the following
{php}
$data = fetch_some_data_from_db();
{/php}
<head>
<title>Test</titel>
</head>
<body>
{data}
</body>
My problem is how do I assign the $data variable?
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php