"; } } if(!empty($adjective_text)) { $sql = "SELECT * FROM adjective WHERE adjective_text = '$adjective_text'"; $qry = mysql_query($sql) or die(mysql_error()); $rows = mysql_num_rows($qry); if($rows == 0) { $sql = "INSERT INTO adjective (adjective_text) VALUES('$adjective_text')"; $qry = mysql_query($sql) or die(mysql_error()); } else { echo "adjective already existed
"; } } } $noun = $rs2["noun_text"]; $noun_id = $rs2["noun_id"]; $adjective = $rs1["adjective_text"]; $adjective_id = $rs1["adjective_id"]; ?>
There are currently adjectives and nouns for a possible 0 combinations.


    new adjective:     new noun: