You need to have insertcourse $_Post name on a if function so it knows when's to submit it. Lol
something like this:
if(isset($_POST['insertcourse'])){
$sql_insert = "INSERT into `golflist`
(`name`,`user_email`,`address`,`profile`,`contact`,`country`,`state`,`city`,`tel`,`holes`,`par`,`distance`,`designer`,`fairways`,`greens`,`website`,`date`
)
VALUES
('$_POST[name]','$usr_email','$_POST[address]','$_POST[profile]','$_POST[contact]','$_POST[country]','$_POST[state]','$_POST[city]','$_POST[tel]','$_POST[holes]','$_POST[par]','$_POST[distance]','$_POST[designer]','$_POST[fairways]','$_POST[greens]','$_POST[web]'
,now()
)
";
mysql_query($sql_insert,$link) or die("Insertion Failed:" . mysql_error());
$user_id = mysql_insert_id($link);
}
I'm not sure where $link is at?
or Change $_POST['whatever your form name here']