Hi, me again

Basically i want to display a php-message if a mysql field has no data.
I think about the following procedure:

1 User selects A
2 A has a variable_A that is being sent to mysql_db
3 if variable_A has no value a php-message must be displayed in a .php file


Any suggestions
D-flyer