GPIPS

Listing of All Fields

Warning! There was a problem contacting the database. Not all of the files displayed here actually exist.

"; } else { $db = mysql_select_db('gpips'); if ($db == false) { die ('Could not find database in question. Please contact the site administrator'); } // MySQL queries and such $results = mysql_query("SELECT field_number, available, filepath FROM gpips_fields WHERE filed_number BETWEEN 1 AND 3300"); $wow = mysql_num_rows($results); if($wow){ echo ""; $i = 0; while($row = mysql_fetch_assoc($results)){ if ($i%10 == 0 && $i != 0 ){ echo ""; } echo ""; } echo "
"; if ($row["available"] == "Y"){ printlink($row["field_number"], $row["filepath"]); } else { echo $row["field_number"]; } echo "
"; } // Clear out variables, close connection mysql_close(); } ?> 0 || $thingy < 0) { echo "ERROR! Please contact the site administrator. We were unable to locate the file for " . $fieldnumber . "."; } else { echo "$fieldnumber";} }*/ ?>

Once there is stuff in the database, we'll un-comment this page, and a huge table should appear.