KEGG Pathways


set_charset("utf8"); mysqli_select_db($link,'wheatnet') or die('Could not select database'); $query = 'SELECT * FROM keggHost'; // WHERE hostSpecies="'.$species.'"'; //print_r($query); $result = mysqli_query($link,$query) or die('Query failed: ' . mysqli_error($link)); //$tabularFile = fopen($outfile, "w") or die("Unable to open file!"); while ($lineQueryResult = mysqli_fetch_array($result, MYSQLI_ASSOC)){ $accession = $lineQueryResult['Accession']; $keggid = $lineQueryResult['keggID']; $keggdes = $lineQueryResult['description']; //$line = $triticumProtein ."\t". $tilletiaProtein ."\t". $hostSpecies."\t". $pathogenSpecies."\t". $source; echo ''; echo ''; echo ''; echo ''; echo ''; // print_r($line); // print_r('\n'); //fwrite($tabularFile, $line); //fwrite($tabularFile, PHP_EOL); } mysqli_free_result($result); mysqli_close($link); //fclose($tabularFile); // print_r($namer); ?>
Accession KEGG Pathway ID KEGG Pathway Description
' .$accession.' ' .$keggid.' ' . $keggdes . '