Is there anyway to ignore the inputs if they are null and still succeed to update the values that are entered? For example if I only give itemID1 an value and itemID2 is null.
$upd = "UPDATE booking SET status='$status', CalDate='$CalDate', DueDate='$DueDate' WHERE itemID IN ('$itemID1', '$itemID2')";