Faculty of Economics

$tup Modules "; $base = file("../catalogue/$mphil.txt"); // Need to Open the relevant txt file for the course e.g. finance.txt // loop down to the
line containing // // echo "
    "; foreach( $base as $line) { if((strstr($line, $set)) && (stristr($line, $which)) ) { $bits=explode(":",$line); $mod= trim($bits[2]); $options = file_get_contents("../catalogue/modules/$mod.txt"); echo "
  • ".ucfirst($bits[2]).": {$module_names[$mod]}

    $options
  • "; } } echo "
"; ?>
right