Re: something stupid... split().

From: Date: Thu, 17 Mar 2005 11:25:27 +0000
Subject: Re: something stupid... split().
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-210960@lists.php.net to get a copy of this message
[] was the answer... Something stupid sorted :) -- Chris ----- Original Message ----- From: "Chris Knipe" <savage@savage.za.org> To: <php-general@lists.php.net> Sent: Thursday, March 17, 2005 1:16 PM Subject: [PHP] something stupid... split().
Lo all, echo ConvertTime($AcctSessionTime/90); # Returns: 03:17:46.7666666667 I am trying to drop the .whatever.. Thus, list($Duration, $none) = split('.', ConvertTime($AcctSessionTime/90), 2); However, $Duration is empty, and $none has the whole string from ConvertTime.... As I said, something silly ;) Thanks for the help. -- Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#210960) next »