example: URL is contained into smarty variable {$image->url|escape:\'htmlall\':\'UTF-8\'} that is the url field inside the image table. Ok, now in php have the following:
I have some fields with names such as: home_phone company_phone mobile_phone other_phone_c personal_phone_c
I have my php code like this: $products = mysql_query(\"SELECT p.* FROM products AS p \" .\"INNER JOIN products_cat_link AS cpl ON cpl.Product_ID = p.id \"
inside .tpl: {assign var=\"datasheet\" value=$product->reference|escape:\'htmlall\':\'UTF-8\'} ... ...
I\'ve tried {include_php file=\"phpfile.php\"} and {php} tags开发者_如何学Go but both cause deprecated error. Can you not do this in Smarty anymore? I can\'t find anything in the docs.I circumvented t
In my last thread开发者_Python百科 i did not explain myself correctly... i use Smarty v2.5 I need to get values for array $myArray[0] which are under var1, var2, var3... keys
I have converted my existing website to Smarty template (my very first project with 1 day of smarty experience under the belt)
I have a bit of a weird problem that I can\'t seem to resolve. I\'m trying to call a javascript function from a file outside of my smarty template directory and it doesn\'t seem to be working. In my s
please could someone let me see some examples? Really Thank You. I found something but now i have another problem:
I have a php code page that pull data from a database. The data then should go into javascript, which is a separate .js file (and i need to use Jquery too). I want to separate my .js and my main html