PHP - Read Data from a CSV file

I found myself needing to alter a PHP program I had that queried for data to one that read from a CSV file. After a little research, seems it is really straight forward. There is the fgetcsv function which makes it all a snap. Here is the example from's website.

$row = 1;
if (($handle = fopen("test.csv", "r")) !== FALSE) {

PHP - Input Variables from URL

I wanted to be able to generate a small little bit of content based on a variable the user sets. I could have created a small form, but in this case it was easier to pass the variable in a link based on a choice the user selected. Here is a really simple example of passing a variable via URL string to my php page.

if ($_GET["id"]) {
  $programID = $_GET["id"];
} else {