CodeIgniter框架中,超链接如何传递参数,以及获得这个参数?
?????
------解决方案--------------------
默认情况下是这样传递的:
http://localhost/index.php/controllerName/methodName/parameter1/parameter2
对应的controller.php
- PHP code
class controllerName extends controller{ //methods..... public function methodName($paremeter1,parameter2){ } }