RE: [PHP] error notice - valid code

From: Date: Tue, 01 Oct 2002 02:57:08 +0000
Subject: RE: [PHP] error notice - valid code
Groups: php.general 
Request: Send a blank email to php-general+get-118299@lists.php.net to get a copy of this message
This is what you're really after - quoting the index <?php $year = getdate(); $print_year = $year["year"]; ?> -----Original Message----- From: Pablo Oliva [mailto:poliva@cox.net] Sent: Tuesday, October 01, 2002 1:03 PM To: php-general@lists.php.net Subject: [PHP] error notice - valid code Notice: Use of undefined constant year - assumed 'year' in c:\apache\htdocs\jotr\includes\globalFooter.php on line 3 <?php $year = getdate(); $print_year = $year[year]; ?> Is this not valid code? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#118299) next »