Notice: Undefined variable: update in F:\wamp\www\core\Smarty-3.0.9\libs\sysplugins\smarty_internal_data.php on line 291 Notice: Undefined variable: addchild in F:\wamp\www\core\Smarty-3.0.9\libs\sysplugins\smarty_internal_data.php on line 291 Notice: Undefined variable: showchild in F:\wamp\www\core\Smarty-3.0.9\libs\sysplugins\smarty_internal_data.php on line 291 Notice: Undefined variable: addgrandson in F:\wamp\www\core\Smarty-3.0.9\libs\sysplugins\smarty_internal_data.php on line 291 Notice: Undefined variable: showgrandson in F:\wamp\www\core\Smarty-3.0.9\libs\sysplugins\smarty_internal_data.php on line 291
所以错误是由你的代码或模板引起的
php 的变量时区分大小写的,模板变量也一样