The problem of value passing between pages. Use $_post[], but still cannot be delivered
Just started to learn this, do not know the problem where, please expert guidance!
The code is as follows
HTML Code
......
Above the first page when the HTML, below is the PHP
PHP Code
...
There is input in the HTML page, but the PHP page has not been received,
Show only this error message
1, the result of my Baidu is
Some people say to open register_globals, that's not my program all the data that needs to be fetched from the form is a global variable
Do you want to clean it up every time you finish it?
2, if do not open register_globals, I check the data use post should be no problem ah? Why is the value not being taken
3, about the form of the submission. Most of the examples I saw were written in the form label action= "XXX". PHP "Can be, why I write not, but also in the Submit button to add an onclick to jump page?"
4. Is my PHP or Apache configuration problem?
------Solution--------------------
You put onclick= "window.location= ' results.php '" This section ~ ~ My side tried OK.
HTML code
------solution--------------------
HTML code
------solution--------------------
discussion
HTML code
Choose Search Type:
Author
/pre>