I want to write PHP code for a Smarty .tpl file. But it is giving me the following error:
Uncaught --> Smarty Compiler: Syntax error in template "./templates/register.tpl" on line 185 "{php}" unknown tag "php" <-- thrown in /opt/lampp/htdocs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 185
When I Google it, I realized it's deprecated and not recommended to use. What should I do now? I want to show drop down with the security question in it.