jdimino
02-12-2006, 06:42 PM
Newbie need your help
Can you please tell me what's wrong with this code)
$result = query("SELECT Bloom_Name FROM ihs WHERE Bloom_Name = $Bloom_Name);
if (mysql_num_rows($result) >= 1) {
$error="Cultivar Name Already Used, Please use another Name";
echo $error;
} else {
$insert = $query="insert into ihs (Bloom_Name,Pod_Parent,Pollen_Parent,
Can you please tell me what's wrong with this code)
$result = query("SELECT Bloom_Name FROM ihs WHERE Bloom_Name = $Bloom_Name);
if (mysql_num_rows($result) >= 1) {
$error="Cultivar Name Already Used, Please use another Name";
echo $error;
} else {
$insert = $query="insert into ihs (Bloom_Name,Pod_Parent,Pollen_Parent,