{php} and assign()

From: Date: Sun, 17 Jul 2005 15:14:01 +0000
Subject: {php} and assign()
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12808@lists.php.net to get a copy of this message
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?

« previous php.smarty.general (#12808) next »