<?php if (is_numeric($_POST['age'])) { ... } ?>
<?php if (strlen(trim($_GET['address']))) { ... } ?>