U.S. FlagAn official website of the United States government
dot gov icon
Official websites use .gov

A .gov website belongs to an official government organization in the United States.

icon https icon
Secure .gov websites use HTTPS

A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

2024 AGES Workshop

Organizing Committee

Participants

meeting group
\n\n"; for($i=0; $i<$numcols; $i++) { $reportTable .= "$tableHeadings[$i]\n"; } $reportTable .= "\n"; // connect to mysql $link = mysql_connect($mysqlServAddr, $mysqlUser, $mysqlPass) or die("Could not connect to server. MYSQL Error: " . mysql_error()); $db = mysql_select_db($mysqlDB, $link) or die("Could not connect to database. MYSQL Error: " . mysql_error()); $sql = "SELECT $listOfCols FROM $mysqlTable ORDER BY lastname"; // get result and close mysql connection $result = mysql_query($sql); if (!$result) $phpErr = "Problem with query
MYSQL Error: " . mysql_error(); mysql_close($link); // handle output from query and build html response while ($row = mysql_fetch_row($result)) { $reportTable .= "\n"; for ($i = 0; $i<$count; $i++) { $reportTable .= "$row[$i]\n"; } if (($row[$numcols]==$row[$count]) && ($row[$numcols]==$row[$how])) { $reportTable .= "$row[$numcols]\n"; } else { $reportTable .= "hybrid\n"; } $reportTable .= "\n"; } $reportTable .= "\n"; echo "$reportTable\n"; ?>