0 ) { $lookupText = sanitize_mysqli($keys[0]); // see if there are any matches on that word in the keywords table $result = new Result("select * from keywords where keyword = '$lookupText'"); // check if our query worked or not if( $result->getSize() == 0 ) { echo "Invalid keyword: " . htmlentities($lookupText); exit; } else { $data = $result->getData(0); $tableName = $data['tableName']; $id = $data['id']; switch( $tableName ) { case "areas": $_REQUEST['AreaID'] = $id; echo get_include_contents("area-view.php"); exit; case "people": $_REQUEST['PID'] = $id; echo get_include_contents("people-view.php"); exit; case "projects": $_REQUEST['ProjID'] = $id; echo get_include_contents("project-view.php"); exit; case "pubs": $_REQUEST['PubID'] = $id; echo get_include_contents("pub-view.php"); exit; case "software": $_REQUEST['SoftID'] = $id; echo get_include_contents("soft-view.php"); exit; case "demos": $_REQUEST['DemoID'] = $id; echo get_include_contents("demo-view.php"); exit; default: echo "Error: internal database error, no association for table
\n"; exit; } } } //foreach( $_REQUEST as $key => $val ) { // echo "$key: $val
\n"; //} ?> Neural Network Research Group
EOF; $bio = << Welcome to the Neural Networks Research Group web site.

The group is directed by Prof. Risto Miikkulainen and is located at the Department of Computer Sciences at the University of Texas at Austin.

EOF; echo getInBox( $bio ); ?>
Spotlight

Previous Spotlights