Php loop need help?
<p>This is sql table        </p>

<pre><code>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 
</code></pre>

<p>I could not find the way to select output result which looks something like this:</p>

<pre><code>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 
</code></pre>
