Hallo,
Modulo (%) ist Dein Freund.
<?php
$x=5;
print (($x%2)==0)? "gerade" : "ungerade";
?>
Mit freundlichen Grüßen,
Andreas Waidelich
--
signatures eat bandwidth
signatures eat bandwidth
Hallo,
Modulo (%) ist Dein Freund.
<?php
$x=5;
print (($x%2)==0)? "gerade" : "ungerade";
?>
Mit freundlichen Grüßen,
Andreas Waidelich