problem w/ printing array value 4.01

From: Date: Fri, 30 Jun 2000 18:07:32 +0000
Subject: problem w/ printing array value 4.01
Groups: php.general 
Request: Send a blank email to php-general+get-4083@lists.php.net to get a copy of this message
$jobDate is in the format of YYYY-MM-DD When I run this code I get " Array" written in the input box rather than the year. <? $dateS[] = explode("-", $jobDate); ?> MM:<input type="text" name="month" size="2" maxlength="2"> DD:<input type="text" name="day" size="2" maxlength="2"> YYYY:<input type="text" name="year" size="4" maxlength="4" value="<? echo $dateS[0] ?>"> HELP Thanks Mark

« previous php.general (#4083) next »