Pass the value of the same page post and get to the form form
PHP Code
$rkno = $_get[' Rkno '); $type = $_get[' type ']; $kw _info = $_post[' Kw_info '];
These are the values obtained from the previous page. The values for $rkno and $type are the values obtained from the previous page of the previous page. These values are then put into a form:
PHP Code
The value of $_post in the page is passed, but the $kw_info value in the form is not obtained. May I ask what the reason is?
------Solution--------------------
We recommend that you use $_request to get the values for both $_get and $_post.
------Solution--------------------
You give out the form codeWhat is the final output in this? The result is clear.
------Solution--------------------
discuss
Reference:
I don't know what you're talking about.
Well, if there are a,b,c three pages, $_get[' rkno '],$_get[' type ' is from a page via GET to the B page, and then from the B page POST a $_post[' kw_info ', connected to the previous $_get[' Rkno '],$_ The value of get[' type '] is passed to the C page. At this point both the $_get and $_post values can be taken. I would like to put this three values into a form on the C page ...
------Solution--------------------
C page Get $kw_info no value? Output a bit:
echo $kw _info = $_post[' kw_info ');
------Solution--------------------
He should have entered a value on page A, submitted a B page, and b There is no choice, there is no value, then go to the C page, using post to get the value, suggest on page b $kw_ Info get URL, then $kw_info = $_post[' Kw_info ']; Change to $kw_info = $_request[' kw_info '];