Re: [PHP] Help with Numbers

2002-10-02 Thread Christopher J. Crane
Thank you very much, I did not know sort would work this way. Makes complete sense now though. Thansk again I will give it a shot. "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Sort the arrays and pick off the first and last elements. > > On W

Re: [PHP] Help with Numbers

2002-10-02 Thread Rasmus Lerdorf
Sort the arrays and pick off the first and last elements. On Wed, 2 Oct 2002, Christopher J. Crane wrote: > I am looking for a way to find the highest 5 and lowest 5 numbers within 300 > or so numbers. Here is what I have so far... > > $Tickers = array(); > $Current = array(); > > > // SQL QUERY

[PHP] Help with Numbers

2002-10-02 Thread Christopher J. Crane
I am looking for a way to find the highest 5 and lowest 5 numbers within 300 or so numbers. Here is what I have so far... $Tickers = array(); $Current = array(); // SQL QUERY TO GET TICKERS MSSQL_CONNECT($HostName,$UserName,$Password); mssql_select_db($DBName) or DIE("Table unavailable");