In the phpcodeigniter framework, the parameter passing issue is codeigniter & nbsp; in the framework, & nbsp; the parameter passing through the hyperlink & nbsp; problem & lt; a & nbsp; hrefaaa. php? C & lt ;? Php & nbsp; echo ($ name) & nbsp ;? & Gt; & amp; bn & lt ;? Parameter passing through hyperlinks in php & nbsp; echo ($ sex) & php codeigniter framework
Parameter passing through hyperlinks in the codeigniter framework
& Bn = "> Click
The above hyperlink is acceptable, but how can I use codeigniter to submit the following passing parameters!
How can I implement prawns? Use the following hyperlink implementation method
Http: // 127.0.0.1: 8080/aa/test? Name = 123
"> Click
Codeigniter framework php
Share:
------ Solution --------------------
It's not very difficult for you to ask the question. The program can get the url to process what you want, and the CI has uri-> segment ()
------ Solution --------------------
"> Click
Suppose $ name = "123"; $ sex = 1;
If you want to get the value of $ name, then $ this-> uri-> segment ('3 ');
The ci manual is clearly written.