Shahrzad wrote:
IRIran.netHi,
I want to replace a php variable with a javascript variable inside <script 
type="text/javascript"> tag in a TPL file(smarty) , how can I do that?

//what in my mind is  , but this code is wrong
///////////////////////////////////////////////////
 var Country = document.search.country;
 {php} $me={/php} Country.value  {php};{/php}
//

Thanks

Smarty have their own mailing lists - please use them.

-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to