ok, then it would be something like
if(isset($_POST)) {
if $_POST['cola'] == NULL {
echo 'Please fill out Col A';
} else {
$cola = $_POST['cola'];
}
if $_POST['colb'] == NULL {
$colb = $_POST['cola'];
} else {
$colb = $_POST['colb'];
}
if $_POST['colc'] == NULL {
$colc = $_POST['cola'];
} else {
$colc = $_POST['colc'];
}
$query = mysql_query
("INSERT INTO table_name VALUES('$cola','$colb','$colc')") or die(mysql_error());
quickly done, and not tested, but should get you on your way