I have a variable in a smarty template: $product.url ...

Within the smarty template I have: {include file="getTable.tpl"} ...

In the included template I have a function called: getTable($url) ...

>From the original template where the $product.url resides, I would like to 
pass that value into the php function but can't seem to figure out the 
syntax to do that.  Please help.  I have tried things like 
{php}getTable{{/php}{$product.url}{php});{/php} ... but obviously this 
doesn't work.

Thank you for any assistance with this.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to