How PHP can get the ID value traversed in foreach and then pass it to the address bar in the bullet box

Source: Internet
Author: User
This article mainly introduces PHP in the box to get the ID value of the traversal in foreach and pass to the address bar of the relevant information, the need for friends can refer to the following

1.php Sometimes we need to bounce the data that is traversed in the foreach box (for example, ID), click the button in the box and pass it to the address bar to jump. So what should we do?

2. Click the Withdraw button, if you do not set a password---box

3. Click Go to set, the user name through the address bar to other pages.

4. Use the OnClick event to pass the parameter charge to the function functions. function is a pop-up window.

5. Pass the username value over. And give the "go to set" Assignment Herf property.

6.


<p class= "Mask" ></p> <p class= "mess" > <p style= "text-align:left;height:50px;line-height:50px; Background-color: #3399CC "> <span style=" padding-left:10px;display:block;font-size:18px; " > Tip </span> </p> <p style= "width:100%;height:50px;line-height:50px;font-size:17px;margin-top:10px;" > <span> the borrower does not set the transaction password, please set the transaction password after withdrawal </span> </p> <p style= "Height:100px;width:100%;margin-top:2 0px;text-align:center; " > <p> <a style= "width:122px;height:42px;line-height:42px;background-color: #1D8CBC; color: #FFF;d isplay : inline-block;cursor:pointer;border-radius:4px;text-align:center;margin-left:180px; "class=" btn1 "> <span &G t; go to Settings </span> </a> </p> </p> </p>
Related Article

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.