🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #488

Re: PHP:ordenamiento array

#488
From: Jos� Miguel Santib��ez
Date: Thu, 22 May 2008 07:14
25 lines
1840 bytes
En el cap�tulo anterior (news:g12vco$ouh$1@news.nivel5.cl), "+mArkO+" 
<kitim@porta.com> dijo:

> si la habia visto antes, pero no cache como usarla en este caso

eso ya tiene costo ;-)

foreach($lista_correo as $llave => $fila)
  $data[$llave] = $fila[1];
array_multisort($data, SORT_ASC, SORT_STRING, $lista_correo);



y si no, mira en: http://cl.php.net/manual/es/function.uasort.php


 ;-)




-- 
Apoye a la campa�a de alfabetizaci�n y  |       Jose M. Santiba�ez A.
ordenaci�n de las news, cada post en su |          <jms@nivel5.cl>
lugar y el lugar exacto para cada post  |        <http://caos.cl/jms>
Technical Details
Message-ID: <Xns9AA61E199D0FEjmsnews@201.238.250.229>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!news.alt.net!news.kjsl.com!news.nivel5.cl!news.vcd.cl!not-for-mail!not-for-mail
References: <g12ptu$oaa$1@news.nivel5.cl> <Xns9AA6575ABDFjmsnews@201.238.250.229> <g12vco$ouh$1@news.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,4319aabd679d8580
X-Google-Attributes: gid1593cb,domainid0,public,usenet
X-Google-Language: SPANISH,ASCII
Newsgroups: chile.comp.programacion
Subject: Re: PHP:ordenamiento array
From: "Jos� Miguel Santib��ez" <jms.nospam@nivel5.cl>
References: <g12ptu$oaa$1@news.nivel5.cl> <Xns9AA6575ABDFjmsnews@201.238.250.229> <g12vco$ouh$1@news.nivel5.cl>
Organization: Caos Consultores
Message-ID: <Xns9AA61E199D0FEjmsnews@201.238.250.229>
User-Agent: Xnews/5.04.25
X-Face: +|NgjgFM{<rs%\Q|vUu16]a6,}?MJTA<!PEEI+x&Gw-Gyq+?$}fvo+.(,-r;)~Qzn)#{{nxU,OT?w^s<7m4ckCJ*L$c#I)yHL7b)GdU*#l
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 236-188-142.adsl.din.tie.cl
X-Original-NNTP-Posting-Host: 236-188-142.adsl.din.tie.cl
Date: 22 May 2008 03:14:03 -0400
X-Trace: news.vcd.cl!not-for-mail 1211440443 201.236.188.142 (22 May 2008 03:14:03 -0400)
X-Original-Trace: 22 May 2008 03:14:03 -0400, 236-188-142.adsl.din.tie.cl
Lines: 25
X-Authenticated-User: jms
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!news.alt.net!news.kjsl.com!news.nivel5.cl!news.vcd.cl!not-for-mail!not-for-mail