Php loop need help?
This is sql table        

         id	id_user	 id_userfor     	   description 	 date 	
         1	 231 	   119 	                a to b  	  2010-02-05 17:42:47 	
         2 	 231 	  231 	               myself    	 2010-02-05 17:36:28 	
         3      231      119                 from x to b       2010-02-05 17:36:29 
p

I Could not find the ways to Select 

output result some thing like this:

    user 119 
    
        a to b        2010-02-05 17:42:47
        from x to b       2010-02-05 17:36:29
    user 231
    
        myself    	 2010-02-05 17:36:28 

 
Php loop need help?
===

This is sql table        

         id	id_user	 id_userfor     	   description 	 date 	
         1	 231 	   119 	                a to b  	  2010-02-05 17:42:47 	
         2 	 231 	  231 	               myself    	 2010-02-05 17:36:28 	
         3      231      119                 from x to b       2010-02-05 17:36:29 
p

I Could not find the ways to Select 

output result some thing like this:

    user 119 
    
        a to b        2010-02-05 17:42:47
        from x to b       2010-02-05 17:36:29
    user 231
    
        myself    	 2010-02-05 17:36:28 

 