Results 1 to 5 of 5

Thread: [RESOLVED]Putting duplicated lines on one line

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2003
    Posts
    27

    [RESOLVED]Putting duplicated lines on one line

    Hello there, I'm trying to figure out how to bring each duplicated ID on the same line. What I'd like to do is put the data for each ID in an array then insert each array element into a table.
    Code:
    ID1	d1	d2	d3	e1	e2	e3	f1	f2	f3
    1111	a			1			test1		
    1111	b			0			test2		
    2222	a			1			test1		
    3333	a			1			test1		
    3333	b			1			test2		
    3333	c			0			test3		
    4444	a			0			test1		
    4444	b			0			test2
    My problem is with the array part. How can I do it to have this result for example:
    Code:
    ID1	d1	d2	d3	e1	e2	e3	f1	f2	f3
    1111	a	b		 1	 0		test1  test2	
    3333	a	b	c	1	1	0       test1   test2	test3
    Thanks in advance!
    Last edited by Isengard; Jun 14th, 2007 at 01:19 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
  •  



Click Here to Expand Forum to Full Width