level 1
Yes灬do
楼主
刚接触mvc框架
<a href="{:url('index.php?m=default&c=category&a=index&id=2')}">这个可以正常跳转
<a href="{:url('index.php?m=default&c=category&a=index&id={$c_list.cat_id}')">把常量换成变量之后就跳转错误,Forbidden
You don't have permission to access /demo/mobile/{:url('index.phpon this server.
{$c_list.cat_id}变量有值
2016年05月12日 10点05分
1
<a href="{:url('index.php?m=default&c=category&a=index&id=2')}">这个可以正常跳转
<a href="{:url('index.php?m=default&c=category&a=index&id={$c_list.cat_id}')">把常量换成变量之后就跳转错误,Forbidden
You don't have permission to access /demo/mobile/{:url('index.phpon this server.
{$c_list.cat_id}变量有值