ricardillo: variable vergleichen.

ich habe zwei variable die vorher datum waren und jetz ich in ein zahl umgewandelt habe,

wollte dass wenn eine variabel grosse al die andere ist es wird ein text erscheinen.

ich habe folgendes gemacht aber fuknz nicht

<?php
$datumzeit1= $uhr;
$temp1=explode(" ",$datumzeit1);
$temp2=explode(".",$temp1[0]);
$datumzeit1=$temp2[2]."-".$temp2[1]."-".$temp2[0]." ".$temp1[1];
$rest1=strtotime($datumzeit1); // 1088683796

print $rest1
?>
<br>

<br>
<?php
$datumzeit2= $zelle16;
$temp1=explode(" ",$datumzeit2);
$temp2=explode(".",$temp1[0]);
$datumzeit2=$temp2[2]."-".$temp2[1]."-".$temp2[0]." ".$temp1[1];
$rest2=strtotime($datumzeit2);

print $rest2

?>
<br>
<?if($rest1==$rest2){print "hallo";}?>