//style include ("col_head.html"); //make our connection $connection = pg_connect("dbname=ojpl user=ojpl password=librarian host=localhost"); //let me know if the connection fails if (!$connection) { print("Connection Failed."); exit; } //check if this was a basic search if ($_GET['basic']) { include ('basic.php'); } //display resource info else if ($_GET['resource']) { include ("resource.php"); } else { echo "Greetings, give us a moment will you. We'll be running in no time."; echo "
"; include ("advanced.php"); } //include footer echo "