Home  >  Article  >  Backend Development  >  PHP gets the id value traversed in foreach and passes it to the instance method of the address bar

PHP gets the id value traversed in foreach and passes it to the instance method of the address bar

零下一度
零下一度Original
2017-06-17 10:52:481113browse

This article mainly introduces the relevant information about PHP getting the id value traversed in foreach in the pop-up box and passing it to the address bar. Friends who need it can refer to

1.php Sometimes we need to Get the data traversed in foreach (such as id) in the pop-up box, click the button in the pop-up box and pass it to the address bar to jump. So what should be done.

2. Click the cash withdrawal button. If you have not set a password ->pop-up box

3. Click to set up and pass the user name through the address bar. other pages.

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

#5. Pass the username value. And assign the herf attribute to "Go to Settings".

6.


提示

该借款人未设置交易密码,请设置交易密码后取现

去设置

The above is the editor’s introduction to PHP to get foreach in the pop-up box The id value traversed in and passed to the address bar. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank you all for your support of the Script House website!

The above is the detailed content of PHP gets the id value traversed in foreach and passes it to the instance method of the address bar. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn