Hi,
Below code Insert fine but after insert, i like to see a message "insert passed" or "insert failed" if failed. I think i need to have if else statement. not sure how to do that. thanks.
---------
<?
mysql_connect("host",$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query = "INSERT INTO new VALUES ('$first','$last','$phone','$mobile','$fax','$email','$web')";
mysql_query($query);
mysql_close();
?>
--------