Please go back and verify that you have filled in all fields marked with a *."; } else{ $cid=db_connect(); $sql="INSERT INTO contact (id,type,name,email,phone,comments,date) VALUES(NULL,'Contact','$name','$email','$phone','$comments',NOW())"; $row=array(); $results=mysql_db_query("nybc_beta",$sql,$cid); if(!$results){ echo(mysql_error()); } else{ echo "Thank you for sending us your comments. We'll be in touch as soon as possible if appropriate."; $to="ncbp@nybloodcenter.org, jkrassner@nybloodcenter.org"; $subj="NCPB Contact Form"; $headers="From: $name <$email>\nX-Sender: <$email>\n"; mail($to,$subj,$msg,$headers); } } } else{ echo <<How to reach us at the New York Blood Center's National Cord Blood Program:

Telephone: (718) 752-4636
E-mail: ncbp@nybloodcenter.org
Fax: (718) 707-3747

Mail:
National Cord Blood Program
New York Blood Center
45-01 Vernon Blvd.
Long Island City, NY 11101

General questions and comments may be submitted below.

Name*
Email*
Phone
Comments*
EOT; } function db_connect(){ $cid = mysql_connect("asmodeus.mediapulse.com","www","ge@rbox"); if(!$cid){ echo ("ERROR: " . mysql_error() . "\n"); return false; } else{ return $cid; } } ?>