URL encode?

From: Date: Tue, 08 Jul 2003 17:11:38 +0000
Subject: URL encode?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9850@lists.php.net to get a copy of this message
Hi, Is there any way to URL-encode some text within a smarty template? For example, I'd like to be able to do something like this: - <a href="login.php?a=1&querystring={urlencode('s=4&t=main')}">login here</a> So in my login.php script, I'd have inputs of a="1" and querystring="s=4&t=main". Any help is appreciated! -- James

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