//header('Content-type: text/csv');
//header('Content-Disposition: attachment; filename=biocxi_attendees.csv');
?>
function db_connect() {
//strictly speaking its silly that this is here, in principal we're getting rid of php soon so I dont care.
// MySQL Server Connection Information
$dbuser = 'biocomp';
$dbpass = 'Zahpqe0953';
global $link;
$link = mysql_connect('localhost', $dbuser, $dbpass) or die("DB Access Error");
mysql_select_db('biocomp', $link) or die("Cannot connect to table");
}
?>
function get_records() {
db_connect();
$result = mysql_query("SELECT * from bioc11;") or die("Data retrival error");
while ($row = mysql_fetch_row($result)) {
echo "