PHP Basic 0 Base, now urgently need to write a questionnaire page, in the Write submit button corresponding.
Through the loop to get all the answers to the question, put in an array, but also write the answer to get the result of the algorithm, a PHP file
But I do not know how to call this answer in the PHP file array, rather stupid, solve.
Reply to discussion (solution)
You always have to send it to PHP.
You always have to send it to PHP.
Yes, the result of this array is calculated from the code inside PHP.
Submitted to PHP, there are only two, 1, form submission 2, AJAX submissions
Do you have any idea what kind of use?
Direct post submission, calculation is not it?
Submitted to PHP, there are only two, 1, form submission 2, AJAX submissions
Do you have any idea what kind of use?
Could you please tell me about these two? Don't quite understand.
Direct post submission, calculation is not it?
Post submission how to write it = =
The content of your questionnaire is placed in a
In
Use $_post to get your Baidu.
form of action= ' php file '
Or you can submit it with Ajax.
Basic problem, imaginative achievement here inexpressible.
form submission, controlled by the form label, allows you to view HTML form content.
Ajax asynchronous processing, you can look at JS or jquery ajax-related content.
Landlord beginner, a lot of effort