well, after you figure out you have blanks
if(empty($field)){
$blanks++;
}
if ($blanks > 0 ){
// dont run the query, maybe submit the data back to the form and get it corrected
}else{
// do update as there areno blanks
}
______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.