For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > January 2005 > Re: [SMARTY] Multiple Parameter Function









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] Multiple Parameter Function
Messju Mohr

2005-01-10, 8:58 am

On Sun, Jan 09, 2005 at 09:04:34PM -0800, Robert Kraig wrote:
> How would i pass multiple parameters to a function in smarty, like
>
> {index.php,4|Forward}


it's {"index.php"|Forward:4}
see: http://smarty.php.net/manual/en/language.modifiers.php

HTH
messju

> from this function
>
> function Forward($location,$timer) {
> return "<META HTTP-EQUIV=\"refresh\" CONTENT=\"".$timer.";
> URL=".$location."\">";
> }
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com