Re: [PHP] Newbie with sorting problem

2004-01-06 Thread Richard Davey
Hello Bart, Tuesday, January 6, 2004, 12:40:38 PM, you wrote: BK> This scripts works, but.. my desire is now to be able to sort the BK> output, wich is generated by the 'while' loop, for instance on 'name', BK> or on 'surname' . sort(), ksort()? I couldn't understand the BK> explanations i found

RE: [PHP] Newbie with sorting problem

2004-01-06 Thread Jay Blanchard
[snip] $result = mysql_query( "SELECT id, name, surname, address FROM addresses"); This scripts works, but.. my desire is now to be able to sort the output, wich is generated by the 'while' loop, for instance on 'name', or on 'surname' . [/snip] Do it in

[PHP] Newbie with sorting problem

2004-01-06 Thread Bart Koppe
Hi all, I'm quite a newbie ot php/mysql, so my question might be oversimple (though i tried for hours to understand..) I'm making an addressbook, as a try out, to see how it al works. All is great actually, but only the sorting of the addresses seems complicated for me.. I have a databse called