Results 1 to 2 of 2

Thread: Checkboxes not update in asp database

  1. #1
    Join Date
    Dec 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Checkboxes not update in asp database

    I have a list of checkboxes like 1,2,3,4,5 when I use update statement I get 1 instead of 1,2,3,4,5 in my database column. I have checked to make sure request.form is returning 1,2,3,4,5 and it is but it only update one value instead of the array of numbers. Is there a simple way to get this to update correctly? Thanks for your help in advance.

  2. #2
    Join Date
    Dec 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    fixed it I forgot to remove the whitespace used replace(request.form("NMGroups"), " ", "") 1, 2, 3, 4 almost looks like1,2,3,4 when I did the response.write to verify the form.

Similar Threads

  1. update info in a database
    By captainjustin in forum PHP
    Replies: 2
    Last Post: 10-06-2009, 09:20 AM
  2. Update database
    By nikomou in forum MySQL and other databases
    Replies: 1
    Last Post: 05-17-2008, 08:55 PM
  3. sql database update in vb.net
    By markdlv77 in forum MySQL and other databases
    Replies: 1
    Last Post: 12-04-2007, 03:41 AM
  4. Inserting & Update into database?
    By hola in forum PHP
    Replies: 1
    Last Post: 04-18-2007, 03:48 AM
  5. update database via dropdowns
    By pkcidstudio in forum MySQL and other databases
    Replies: 0
    Last Post: 04-16-2007, 09:46 PM

Bookmarks

Posting Permissions

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