On 9/20/07, Scott Hill <[EMAIL PROTECTED]> wrote:
>
>
> To sort duplicate date values, make the following changes to datesort:
>
> function datesort($a,$b)
> {
>     $retVal = strcmp($a['date'],$b['date']);
>     if ($retVal == 0)
>         $retVal = strcmp($a['name'],$b['name']);
>     return $retVal;
> }
>

Nice catch Scott...thanks.

Jon
-- 
What's this?  Another BLOG?  http://www.jtoo.net/

_______________________________________________

UPHPU mailing list
UPHPU@uphpu.org
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to