Skip to content

Instantly share code, notes, and snippets.

@paulslugocki
Created March 16, 2012 17:19
Show Gist options
  • Save paulslugocki/2051229 to your computer and use it in GitHub Desktop.
Save paulslugocki/2051229 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js"></script>
</head>
<body>
<p>Accommodation rating:
<?php
$accomrating = 3;
$accomratings = array(
"Not set",
"No accommodation / Not applicable",
"Luxury",
"Moderate",
"Comfortable",
"Basic",
"Various levels"
);
print $accomratings[$accomrating];
?>
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment