hi guys,
thanks for the replies! yes Melanie, you were correct the last example
(i had an old version of the manual). seemed to do the trick =)
Thanks to john as well for the reply.
Angelo
Melanie Maddix wrote:
[snip]
So they way I want to sort these rows is by total, totalPaid,
totalUnpa
On 7/26/06, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
Hi all,
So they way I want to sort these rows is by total, totalPaid,
totalUnpaid all descending.
Hi Angelo,
So the first question the list will ask is if the array of data is
coming from a database. Because then you'd be urged to perform
Hi all,
Need some advice as to how to sort a array:
Structure:
partnerID
partnerName
total
totalPaid
totalUnpaid
So basically there will be many entries for the following:
eg:
partnerID | partnerName | total | totalPaid | totalUnpaid
1 marc 12 5
Hi Javier,
I think parsing the listing into a multidemensional array is the
answer. But actually, I do not yet know how that would look like
in PHP. But I can give you an example of how it is done in
ActionScript (Ecmascript).
file_arr[n] = [name, date]
Now you can sort file_arr by file_arr
i have the following code which reads a list of files from a directory -
$listcmd = "ls " .$dirPath;
$temp = exec($listcmd, $listoffiles, $status);
if($status == 0) {
for ($i =0; $i < sizeof($listoffiles); $i++) {
$this->fileName[$i] = $listoffiles[$i];
$this->sizeofFile[$i] = sprintf("%01.
5 matches
Mail list logo