hi, i have a question. is there a smarty variable that allows me to use a * . Code: $submit_url eq "http://www.youtube.com" i want to allow a random string behind this code. like Code: $submit_url eq "http://www.youtube.com/*" is that possible??
$submit_url eq "http://www.youtube.com"
$submit_url eq "http://www.youtube.com/*"
Instead you can do a strsubstr comparison at php and pass the results to tpl via a smarty variable - that would be easier. and to answer your question - no * is not used or allowed in smarty for wildcard matching..
Originally Posted by dollars5 Instead you can do a strsubstr comparison at php and pass the results to tpl via a smarty variable - that would be easier. and to answer your question - no * is not used or allowed in smarty for wildcard matching.. thnx for the reply dollars5, I am not that wizzard at php, but is there a smarty variable that can be used as a wildcard?
Forum Rules