kanenas.net

Tag: kreatosouvla

Cholesterol Levels 2010 (= Greek Easter)

by kanenas.net on Apr.07, 2010, under News, PHP, Programming


See the photos as a slide-show in Flickr.com.

<?php
// Set your Cholesterol Level before executing the script!
// Uncomment the next line.
// $Cholesterol = 240;

if (!isset($Cholesterol) || $Cholesterol=='') {
	echo 'This is good!';
} else {
	if ($Cholesterol<200) {
		echo 'Desirable level. Low risk for coronary heart disease.';
	} elseif ($Cholesterol>=200 && $Cholesterol<240) {
		echo 'Borderline high!';
	} else {
		echo '<strong>DANGER!</strong> High blood cholesterol!';
	}
}
?>

;)

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5.00 out of 5)
Loading ... Loading ...

  • Share/Bookmark
1 Comment :, , , , , , , , , , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!