> the form is separated into 5 sections and if there are no items filled out > in that section, then i need to hide the title too. > > I have been playing around with the syntax and am not having any > success.......any suggestions? > > here is a sample of what i am trying: > > <?php if(strlen($_POST['item01', 'item02', 'item03']) > 0) { ?> > > <?php } ?>
<?php if(strlen($_POST['item01']) > 0 || strlen($_POST['item02']) > 0 || strlen($_POST['item03']) > 0) { ?> <?php } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php