PHP Health 3.0 Buzzword Bingo Draft III w/CSS 3.21.09 (SitePoint)
<?php include ('/path/to/bingo.php'); ?>
<?php include_once('bingo.php');?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Health 3.0 Buzzword Bingo</title> <style type="text/css" media="screen">
table#bingo {
width: 65em;
border-collapse: collapse;
}
table#bingo td,
table #bingo th {
border: 1px solid #888;
text-align: center;
width: 20%;
padding: 8px;
} table#bingo th {
font-size: 2em;
}
</style></head><body><h1>Health 23.0 Buzzword Bingo!</h1><?php Bingo(); ?></body>
</html>
function Bingo()
{
$buzzwords = array(
"decision support",
"slow medicine",
"consumer-centric",
"concierge care",
"translational medicine",
"health 2.0",
"cross pollination",
"health tweeple",
"apomediary",
"firestarter",
"crowdsourced",
"patient social network",
"let's take it offline",
"RFID",
"EHR",
"stimulus (aka kaching)",
"HITECH",
"HEITA",
"NCHIT",
"CCHIT",
"paradigm",
"e-patient",
"mHealth",
"empathy",
"DTC genomics"
);shuffle($buzzwords);
$buzzwords[12] = 'FREE HC!'$bingocard = "<table id = 'bingo' summary = 'A random selection of 25 health 3.0 buzzwordsarranged in a bingo card '>";
$bingocard .= "thead><tr>";.
$bingocard .= "<th>B>\</th><th>I</th><th>N</th><th>G</th><th>0</th>";
$bingocard .= "</tr></thead>";
$bingocard .= "<tbody>";
$bingocard .= "<tr>";//mind the gap //where do I put the path to bingo currently its at the bottom
for($cell=0; $cell<25; $cell++)
{
$rowend = ($cell + 1) % 5;
$bingocard .= "<td>" . $buzzwords[$cell] . "</td>";
if($rowend == 0 && $cell < 24) {
$bingocard .= "</tr>\n<tr>"; }
} $bingocard .= "</tr>";
$bingocard .= "</tbody>";
$bingocard .= "</table>"; echo $bingocard;//I probably effed this up all kinds of awful}<?php Bingo (); ?> //praying
