Questions about PHP transfer values

Source: Internet
Author: User
Problems with PHP's value transfer
 
Public Function index () {
$Dao = M ("Zhaopin");
Constructs a query condition
$condition [' Position '] = $_get[' Position ');
$condition [' recruitment '] = $_get[' recruitment ');
$condition [' Position '] = array (' Like ', "%". $_get[' Position '). " %");
$condition [' recruitment '] = array (' Like ', "%". $_get[' recruitment '). " %");
//Total number of calculations
$count = $Dao->where ($condition)->count ();
Import the Paging class
import ("ORG. Util.page ");
//Instantiate the paging class
$p = new Page ($count, +);
Get query Parameters
$map [' Position '] = $_get[' Position '];
$map [' recruitment '] = $_get[' recruitment ');
foreach ($map as $key = + $val) {
$p->parameter. = "$key =". UrlEncode ($val). " & ";
}
//pagination display output
$page = $p->show ();
Current page data query
$list = $Dao->where ($condition)->order (' id DESC ')->limit ($p->firstrow. ', '. $p listRows)->select ();
//Assignment value
$this->assign (' page ', $page);
$this->assign (' list ', $list);
$this->display ();
}


All
Logistics Specialist/Assistant
Logistics Manager/Supervisor
Logistics Director
Dispatch Clerk
Courier Staff
Warehouse Manager

Loading/unloading/Porter
Supply Chain Management

International freight
Other positions



Luohu District
Futian district
Nanshan district
Yantian District
Bao'an district
Longgang district
Guangming New Zone
Pingshan New Zone
Dapeng Xin District
Longhua Zone
Shenzhen Week


Click any of the above to click on any one of the 2 below how to pass the value?
What I want is a/index.php/zhaopin/index? position= Other jobs &recruitment= Pingshan new District
------to solve the idea----------------------

------to solve the idea----------------------
Reference:
Quote: Reference:


Click on the time to get recruitment such writing is not written to die

Are you a post or a get
------to solve the idea----------------------
This is not the front-end construction URL when the problem?
------to solve the idea----------------------
You get two times
You're supposed to want to see this in the Address bar after you click on the Address bar Index.php/zhaopin/index? position= Other jobs &recruitment= Luohu District ""
------to solve the idea----------------------
This can be done in jquery way, like JQuery.address.parameter (Key,value), it will be in the address bar splicing parameters and values, or very useful!!!
  • 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.