Get the ID from the php page and send it to the form. can this problem be solved?

Source: Internet
Author: User
Retrieving the ID from the php page and passing it to the form... can this be solved? There are two php files... a. php and B. phpa. there is a link in php. after clicking it, an id will be passed to B in get mode. php has a problem. now I want. create a new form in php. The form must be passed to B. php id to update data ?, A. php: & lt get the ID from the php page and pass it to the form... can this be solved?
There are two php files... a. php and B. php.
A. php has a link. after clicking it, an id will be passed to B. php in get mode.
Now, I want to create a new form in B. php. the id passed to B. php is used in the form to update the data.
What should I do?

------ Solution --------------------
A. php:

Jump to B. php

B. php:
// Obtain the sent id
$ Id = $ _ GET ['id'] + 0;


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.