How would you do this?

Results 1 to 5 of 5

Thread: How would you do this?

  1. #1
    $String$ Guest

    Default How would you do this?

    The way I have this set up now is that a user goes trough and items that are picked are inserted into the users s_item colum.<BR>When they pick an item I add the item number to the colum. So it ends up with 34,75,22,76,12,173 in the colum. The items are referenced from another table. Is this the most effcent way to go about this?

  2. #2
    Dalibor Sver Guest

    Default RE: How would you do this?

    No, I would put each selected item into next record - if I would write it to database at all. But I wouldn&#039;t. I would write all those values to hidden fields.

  3. #3
    $String$ Guest

    Default RE: How would you do this?

    No no everytime someone picks somthing it addes the item id to the end of the string in the database.

  4. #4
    Join Date
    Dec 1969

    Default Cant you?

    Cant you just split the string up? Just split it at whatever delimeters you have it at then just use the array? <BR><BR>Loop through it or do whatever you want? Wont this work or am I missing something?

  5. #5
    $string$ Guest

    Default RE: Cant you?

    Yes this is what I am doing storing all the items in a large string and using the split to get them out. All I wanted to know was is this the bet way to go about this or is there are more efficet way, because I have some people picking over 200 items.

Posting Permissions

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