Triticum aestivum - Tilletia interactions


set_charset("utf8"); mysqli_select_db($link,'wheatnet') or die('Could not select database'); $query = 'SELECT * FROM HPIinterolog'; // 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)){ $triticumProtein = $lineQueryResult['hostProtein']; $tilletiaProtein = $lineQueryResult['pathogenProtein']; $hostSpecies = $lineQueryResult['hostSpecies']; $pathogenSpecies = $lineQueryResult['pathogenSpecies']; $source = $lineQueryResult['source']; //$line = $triticumProtein ."\t". $tilletiaProtein ."\t". $hostSpecies."\t". $pathogenSpecies."\t". $source; echo ''; echo ''; echo ''; // echo ''; // echo ''; // 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); ?>
Host protein Pathogen protein Host species Pathogen strain Interaction database
' .$triticumProtein.' ' . $tilletiaProtein . ' ' .$triticumProtein.' ' . $tilletiaProtein . '' . $tilletiaProtein . '' . $hostSpecies . '' . $pathogenSpecies . '' . $source . '