[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.