Value transfer between pages. You can use $ _ POST [], but you still cannot pass the course at the beginning. I don't know where the problem is. please kindly advise! The code is as follows: HTMLcode... & lt; formaction = & quot; results. php & quot; method = & quot; post & quot; & gt; value transfer between Choose pages. $ _ POST [] is used, but cannot be passed.
At the beginning, I didn't know where the problem was. please kindly advise!
The code is as follows:
HTML code
......
The first page above is HTML, and the following is PHP
PHP code
...
There is input content on the HTML page, but the PHP page cannot receive it all the time,
Only show this error message
1. my Baidu results are
Some people say they want to open register_globals. isn't all the data in my program that needs to be obtained from the form become a global variable?
Are you sure you want to clear it after use?
2. if register_globals is not enabled, is there no problem in using POST for the materials I consulted? Why cannot I get the value?
3. submit the form. In most of the examples I have read, only action = "XXX. PHP "is enough. Why can't I write it? I need to add an onClick button in the submit button to jump to the page?
4. is it my PHP or APACHE configuration problem?
------ Solution --------------------
You set onClick = "window. location = 'ults. php'" ~~ I tried OK here.
HTML code
------ Solution --------------------
HTML code
Script function subForm () {document. testForm. action = "results. php "; document. testForm. submit ();} // If location. href will jump directly to the page. unless a parameter is added, it will also receive the script with get.
------ Solution --------------------
Discussion
HTML code
Choose Search Type:
Author ......------ Solution --------------------