//ini_set("memory_limit","1024M"); include ('function.php'); //Written by Jing Gao //This script is called by Cytoscape metabolomics plugin to query humdb database $db="humdb"; //connect to database server with "userMimiCytoPlugin" account conn_db(); mssql_select_db($db); $ret=""; $query ="exec dbo.cmpdLookupSP"; $results=mssql_query($query)or die("Sorry, \"$query\" failed."); $len=mssql_num_fields($results); print "
Compound ID | Name Type | Compound Name |
---|---|---|
$myrow[0] | $myrow[1] | $myrow[2] |
$myrow[0] | $myrow[1] | $myrow[2] |