What do you mean with empty? You might mean that it is NULL, that it is "" or that it is just spaces in it. And you might even mean that it is set. And the different meanings of the word empty is solved in slightly different ways. The [man]empty[/man] function is probably what you want to check, but I have a few examples below.
// To check if it is set
if (isset($_POST['variable']))
// To check if it is null
if (is_null($_POST['variable']))
// To check if it is an empty string
if ($_POST['variable'] == "")
// To check if it is set but still empty
if (empty($_POST['variable']))
// To check if it is empty or just spaces, normally this is considered as empty
if (empty(trim($_POST['variable'])))
// And last to be sure not to get an error message do the following
if (isset($_POST['variable']) && empty(trim($_POST['variable'])))