We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
官方文档的URL辅助函数 使用的时候先引入url辅助函数
$this->load->helper('url');
然后可以在对应的控制器和视图上拼接新的url
<a href="<?php echo site_url('form_delete');?>">删除</a>
默认在没有设置config的config.php的$config['base_url']前,跳转的域名是会显示 ::1其实是ipv6本地环回地址简写,但如果觉得不好看,可以在config.php重新设置$config['base_url'],例如下面这样
$config['base_url']
$config['base_url'] = 'http://localhost/CI/myCi/';
The text was updated successfully, but these errors were encountered:
No branches or pull requests
官方文档的URL辅助函数
使用的时候先引入url辅助函数
然后可以在对应的控制器和视图上拼接新的url
默认在没有设置config的config.php的
$config['base_url']
前,跳转的域名是会显示::1其实是ipv6本地环回地址简写,但如果觉得不好看,可以在config.php重新设置
$config['base_url']
,例如下面这样The text was updated successfully, but these errors were encountered: