php function

php function:

php tag allows php scripts to be embedded directly in the template. Whether these statements are processed depends on the setting of $php_handling.

This statement usually does not need to be used. Of course, if you know this feature very well or think you must use it, you can also use it.

eg:

{php}
include("/path/to/display_weather.php");
{/php}

Continuing Learning
||
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!