</header>
<article id="mainContent">
  <h1>Graphic Design</h1>
  <p>The Graphic Design program helps students to develop skills in listening, negotiating, research, thinking creatively, idea generation, and manipulating visual languages and techniques. Students are encouraged to cultivate and share ideas, as well as develop their own philosophy and unique way of working. </p>
  <blockquote>Roux Academy's Graphic Desgin program helped me mature both as a designer and as a creative professional. Their cross-disciplinary approach helped me see multiple sides and solutions to every problem I encountered, and that's something that has translated to how I approach design in my career. Roux Academy was tremendously important in helping shape the designer I've become. <span class="quote">&#8211;Tabitha Knowles, Lead Designer Veroscare Partners</span></blockquote>
  <h2>Required Curriculum</h2>
  <p>While every program is different and course loads are tailored to meet the individual student&rsquo;s needs, this list represents the required curriculum for any student seeking a BA in Graphic Design.</p>
    <?php 
ini_set('auto_detect_line_endings', '1');
require_once '../includes/csv_functions.php';
if ($table1 = tableFromCsv('../_assets/first_semester.csv')) {
    echo $table1;
} else {
    echo '<p><em>Curriculum for semester 1 not available.</em></p>';
}
if ($table2 = tableFromCsv('../_assets/second_semester.csv')) {
    echo $table2;
} else {
    echo '<p><em>Curriculum for semester 2 not available.</em></p>';
}
?>
</article>
<aside>
<section class="academic info">
<h2>Academic Links</h2>
<ul>
  <li><a href="undergraduate.htm" title="undergraduate degrees">Undergraduate Degrees</a></li>
  <li><a href="graduate.htm" title="Graduate Degrees">Graduate Degree Programs</a></li>
  <li><a href="continuing-education.htm" title="Continuing education">Continuing Education</a></li>
  <li><a href="faculty.htm" title="Faculty">Faculty Profiles</a></li>
   <li><a href="application-requirement.htm" title="Application requirements">Application Requirements</a></li>
Example #2
0
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Tab-separated Values</title>
    <link rel="stylesheet" type="text/css" href="tabs.css">
</head>
<body>
<?php 
include '../includes/csv_functions.php';
echo tableFromCsv('cars_tab.csv');
?>
</body>
</html>
    if (!file_exists($filename) || !is_readable($filename)) {
        return false;
    } else {
        $file = fopen($filename, 'r');
        while (($rows[] = fgetcsv($file)) !== false) {
        }
        $output = "<table>\n<tr>\n";
        if ($titles) {
            $headers = array_shift($rows);
            foreach ($headers as $header) {
                $output .= '<th>' . ucwords($header) . "</th>\n";
            }
            $output .= "</tr>\n";
        }
        foreach ($rows as $row) {
            if (is_array($row)) {
                $output .= "<tr>\n";
                foreach ($row as $item) {
                    $output .= "<td>{$item}</td>\n";
                }
                $output .= "</tr>\n";
            }
        }
        $output .= "</table>\n";
        fclose($file);
        return $output;
    }
}
ini_set('auto_detect_line_endings', '1');
echo tableFromCsv('cars.csv');
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Tab-separated Values</title>
    <link rel="stylesheet" type="text/css" href="tabs.css">
</head>
<body>
<?php 
require_once 'includes/csv_functions.php';
$options['delimiter'] = "\t";
echo tableFromCsv('cars_tab.csv', true, $options);
?>
</body>
</html>