PHP Calendar, Picked Up Code

I have picked up a piece of calendar code and on the edit section it changes the date to the current date and not to the date that was submitted by the form, any1 have any ideas? gotta get this fixed!

thanks in advance…
After a little bit of checking, the date doesn’t appear to actually do anything? (this is not my code as well by the way)

<?
include(‘…/includes/header.inc.php’);

	foreach ($_POST as $post =&gt; $key)
		{
			$$post=$key;
		}
	
	if (!is_numeric($date))
		{
			$date=strtotime($date);
		}
	
	#print_r($_SESSION);
	$date=strtotime($date);
	$start=strtotime($start);
	$finish=strtotime($finish);
	
	if ($submit !='Save')
		{
			$sql_item_get=mysql_query("SELECT * FROM cal_calendar WHERE id='$_GET[eventid]' LIMIT  1 ");
			$array_item=mysql_fetch_array($sql_item_get);
			
			foreach ($array_item as $name =&gt; $key)
				{
					$$name=$key;
				}
			
		}
	else
		{
			
			$sql_update_item=" UPDATE cal_calendar SET
			title='$title',
			description='$description',
			venue='$venue',
			contact_name='$contact_name',
			number='$number',
			email='$email',
			url='$url',
			start='$start',
			finish='$finish'
			WHERE id='$_GET[eventid]' LIMIT 1 ";
			if (!mysql_query($sql_update_item))
				{
					$output['update']=mysql_error();
				}
			else
				{
					$output['update']='Item updated successfully';
				}
		}
	
	$date=$start;		

?>

<div id=“block”>
<?=$menu?>
<h4>Edit event <?=$title?></h4>
<?
foreach ($output as $name => $key)
{
echo ‘<p>’ . $key . ‘</p>’;
}

	?&gt;
&lt;form action="" method="post" enctype="multipart/form-data" name="addevent" id="addevent"&gt;
	&lt;fieldset&gt;&lt;legend&gt;Event Information&lt;/legend&gt;
	&lt;p&gt;
		&lt;label for="title"&gt;Event name: (255)&lt;/label&gt;
		&lt;input type="text" name="title" value="&lt;?=$title?&gt;" class="input" /&gt;
	&lt;/p&gt;
	&lt;p&gt;
		&lt;label for="description"&gt;Description: (450)&lt;/label&gt;
		&lt;textarea name="description" class="input textarea"&gt;&lt;?=$description?&gt;&lt;/textarea&gt;
	&lt;/p&gt;
	&lt;p&gt;
		&lt;label for="venue"&gt;Venue: (60)&lt;/label&gt;
		&lt;input type="text" name="venue" value="&lt;?=$venue?&gt;" class="input" /&gt;
	&lt;/p&gt;
	&lt;p&gt;
		&lt;label for="contact_name"&gt;Contact name: (60)&lt;/label&gt;
		&lt;input type="text" name="contact_name" value="&lt;?=$contact_name?&gt;" class="input" /&gt;
	&lt;/p&gt;
	&lt;p&gt;
		&lt;label for="number"&gt;Number: (12)&lt;/label&gt;
		&lt;input type="text" name="number" value="&lt;?=$number?&gt;" class="input" /&gt;
	&lt;/p&gt;
	&lt;p&gt;
		&lt;label for="email"&gt;Email: (255)&lt;/label&gt;
		&lt;input type="text" name="email" value="&lt;?=$email?&gt;" class="input" /&gt;
	&lt;/p&gt;
	&lt;p&gt;
		&lt;label for="url"&gt;Web address: (450)&lt;/label&gt;
		&lt;input type="text" name="url" value="&lt;?=$url?&gt;" class="input" /&gt;
	&lt;/p&gt;
	&lt;/fieldset&gt;
	&lt;fieldset&gt;&lt;legend&gt;Date/Time&lt;/legend&gt;
	&lt;p&gt;
		&lt;label for="date"&gt;Event date: &lt;/label&gt;
		&lt;input type="text" name="date" value="&lt;?=date('d/m/Y', $date)?&gt;" class="input" /&gt;
	&lt;/p&gt;
	&lt;p&gt;
		&lt;label for="start"&gt;Start: (24hr)&lt;/label&gt;
		&lt;input type="text" name="start" value="&lt;?=date('H:i', $start)?&gt;" class="input" /&gt;
	&lt;/p&gt;
	&lt;p&gt;
		&lt;label for="finish"&gt;Finish: (24hr)&lt;/label&gt;
		&lt;input type="text" name="finish" value="&lt;?=date('H:i', $finish)?&gt;" class="input" /&gt;
	&lt;/p&gt;
	&lt;/fieldset&gt;
	&lt;p&gt;
		&lt;label for="submit"&gt;&nbsp;&lt;/label&gt;
		&lt;input name="submit" type="submit" class="btn" value="Save" /&gt;
	&lt;/p&gt;
&lt;/form&gt;
&lt;p&gt;&nbsp;&lt;/p&gt;
&lt;p&gt;&nbsp;&lt;/p&gt;

</div>
<? } ?>
</div>

I have now tried to fix this code it was saying there is some problems with the y/m/d formatting, i have fixed that but now it is reseting the day to todays date, instead of 1970.