Home  >  Article  >  Backend Development  >  CodeIgniter PHP 单选框选中与不选中,该如何处理

CodeIgniter PHP 单选框选中与不选中,该如何处理

WBOY
WBOYOriginal
2016-06-13 11:43:20919browse

CodeIgniter PHP 单选框选中与不选中
            " />启用
            " />停用

控制层那边传到页面是status 里面 1是启用 2是停用,如果控制层传过来是1 那么就选中启用相反,控制层传过来是2 那么就是停用。


 我上面写的没有效果,求大虾指点

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn