www.webdeveloper.com
Results 1 to 2 of 2

Thread: Cms with database

  1. #1
    Join Date
    Jun 2008
    Posts
    106

    Cms with database

    Hi friends,

    I am creating registration form for this form i am creating cms page when i am adding field name into the database it will directly show all form fields into the browser side.

    I created this and working fine but if i am adding 5 fields then its showing into the browser then in that form if i click submit i have to store all form fields in to the database .

    Can any one tell me how to this when new field adding into the form how can i create field name into the database

    Thanks in advance
    PnuithaPary

  2. #2
    Join Date
    Jul 2009
    Location
    Falls Church, Va.
    Posts
    780
    In the script that processes the form submission you could get all the field names from $_POST, then query to get the field names already in the database, compare each list and insert those not present.

    -jim

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles