// validate the list price entry
if ( $list_price = NULL || $list_price = FALSE ) {
$error = "Please enter a valid number.';
} else {
$error = ''
}
// validate the list price entry if ( $list_price == NULL || $list_price == FALSE ) { $error = "Please enter a valid number.'; } else { $error = ''; }