I am new to smarty template. My all database settings are in /inc/settings/DSOPSettings.local.php but Every time I get pull from git for changes It overrides. I have tried to set .env file in smarty template project root tried to get env variables in DSOPSettings.local.php file but It’s not working for me. My .env file : My DSOPSettings.local.php : I have
Tag: smarty2
PHP display while loop data accurately in SMARTY template
In the following code when I try to assign $viewAd value to the template file and display result it does not display the accurate results when assigned to the template. However, it displays the accurate desired result on top of the page when I straight echo the $viewAd in the PHP page. I have given the screenshots below. My PHP