Processing method for receiving JQueryMoblie multiple-choice forms when submitting PHP

Source: Internet
Author: User
: 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.

    Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.