Results 1 to 2 of 2

Thread: Inserting checkbox values into one field

  1. #1
    Join Date
    May 2009
    Posts
    24

    Inserting checkbox values into one field

    hi

    I have a checkboxes on my page (.aspx) like

    checkbox1 - item1
    checkbox2 - item2
    checkbox3 - item3
    etc

    what i want is that when a user selects certain checkboxes
    they should be inserted into a table called
    customer which has fields (customer id and actions)

    the data should be inserted as

    customerid actions
    1 item1,item2,item3
    2 item1,item3
    3 etc..

    i.e all the values should be inserted into database into one field separated by commas.

    Thanks
    Last edited by ebosysindia; 27 May 2009 at 08:48 AM.

  2. #2
    Join Date
    May 2009
    Posts
    24

Similar Threads

  1. insert values from indexed array into html form button (PHP)
    By boognish in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 10 Jan 2006, 07:27 PM

Posting Permissions

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