on 10/18/02 1:03 PM, NIPP, SCOTT V (SBCSI) at [EMAIL PROTECTED] appended the
following bits to my mbox:
> Yeah, this is the exact fix I am trying to avoid. Thanks for the
> feedback, but I prefer to keep the items chronological ascending order. I
> know there has to be a way to simply default th
[mailto:phplist@;gremlins.com.hk]
Sent: Friday, October 18, 2002 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Log Application Formatting Issue...
On Saturday 19 October 2002 00:09, NIPP, SCOTT V (SBCSI) wrote:
> I am trying to tweak an application that I have developed. The
> application is o
On Saturday 19 October 2002 00:09, NIPP, SCOTT V (SBCSI) wrote:
> I am trying to tweak an application that I have developed. The
> application is our "On-Call Log". This application consists of three
> pages; one page to input new entries, one page to edit existing entries,
> and finally a log vi
Scott, can you just do it by sorting your query, then limiting the results
to 10?
ie.
SELECT * FROM tables WHERE somthing='1' ORDER BY date DESC LIMIT 10
should sort highest -> lowest date (ie most recent, backwards) and give you
the top 10 results. then if you have the option of flipping thru
Not sure if this will actually deliver the functionality you're looking for
but it's worth a shot. As the documentation says, the end(array array)
actually returns the last element in the array. So it looks like you could
just use echo end(yourArrayName); or something like that and get what you're