Fw: [SMARTY] passing URL to template
| From: | Jason Sweat | Date: | Wed, 19 Mar 2003 21:26:47 +0000 |
| Subject: | Fw: [SMARTY] passing URL to template | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8758@lists.php.net to get a copy of this message | ||
"Bob Powers" <bobp1@comcast.net> wrote:
> $smarty->assign('loginURL' ,'$sess->purl(URL .
?login=1&page=shop/index');
Assuming URL is a define, this does not look like valid PHP unless you
quote the parameters, not the entire object:
$smarty->assign('loginURL' ,$sess->purl(URL .
'?login=1&page=shop/index');
removed here ^ added here ^
Jason