RE: [PHP] Where's the error?

From: Date: Tue, 14 May 2002 03:42:44 +0000
Subject: RE: [PHP] Where's the error?
Groups: php.general 
Request: Send a blank email to php-general+get-97485@lists.php.net to get a copy of this message
that'll prob. be: $lastdate = getmydate($fcontents[count($fcontents)-1]); remember that array indexes start at 0, hence the "-1" bit -----Original Message----- From: Josh Edwards [mailto:josho@tpg.com.au] Sent: Tuesday, May 14, 2002 1:33 PM To: php-general@lists.php.net Subject: Re: [PHP] Where's the error? Fixed !!! It should be $line = $fcontents[$i]; not $line = $fcontents[i]; Would you know the syntax to get the the last date? ie $lastdate = getmydate($line[(count($line))]); echo "$lastdate"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#97485) next »