Questions about parameter passing through hyperlinks in the phpcodeigniter framework

Source: Internet
Author: User
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; href = "aaa. php? C = & lt ;? Parameter passing through hyperlinks in php & nbsp; ec 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 the codeigniter framework php to share with you:
------ 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.