: This article mainly introduces how PHP receives the JQueryMoblie multi-choice form submission. if you are interested in the PHP Tutorial, refer to it. In the past two days, I am helping a start-up company present a company page, where I need to design a recruitment information form for a person. JQuery Moblie uses Ajax by default when submitting a form. Therefore, the PHP background can only receive the last data selected for multiple forms at a time. So what is the solution? Of course, Ajax is forbidden. you can add the data-ajax = "false" tag to the from tag.
Note:
Entrepreneurship Teamwork Leadership Public speaking Career mentoring
In php, in the submission of multiple-choice forms, the name tag must be added with [], and [] to read data in the form of array. this syntax is unique to php. When reading data, you can use implode (",", $ _ POST ['var']) to obtain the collected data.
'). AddClass ('pre-numbering '). hide (); $ (this ). addClass ('Has-numbering '). parent (). append ($ numbering); for (I = 1; I <= lines; I ++) {$ numbering. append ($ ('
'). Text (I) ;}; $ numbering. fadeIn (1700) ;}) ;}; script
The above introduces the processing method received by PHP when JQuery Moblie multi-choice form is submitted, including some content. it is helpful to those who are interested in PHP tutorials.