Hi,
I am sure I already read about somewhere in these forums but just can't find it anymore.
I was wondering how do I pass Smarty variables via URL?
For example:
http://mysite.com/somepage.html?somevariable=somevalue
Thanks!
send smarty variable via URL ? [SOLVED]
send smarty variable via URL ? [SOLVED]
Last edited by antosha on Tue Jun 29, 2010 5:43 pm, edited 1 time in total.
Re: send smarty variable via URL ?
if you put the following....antosha wrote: how do I pass Smarty variables via URL?
For example:
http://mysite.com/somepage.html?somevariable=somevalue
{$smarty.request.somevariable}
in a page requested via this url...
http://mysite.com/somepage.html?somevariable=somevalue
it would display...
somevalue
see http://www.smarty.net/manual/en/languag ... smarty.php
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: send smarty variable via URL ?
That was very helpful, thanks 
