I have successfully hidden some parts of a form based on items being blank
with following code:
?php if(strlen($_POST['item01']) 0) { ?
?php } ?
(with the help of this forum!!)
the form is separated into 5 sections and if there are no items filled out
in that section, then i need to hide
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
?php if(strlen($_POST['item01'] . $_POST['item02'] .
strlen($_POST['item03'])) { ?
I'm shooting for succinctness here. I'd like to see if someone has a
shorter solution.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 23 Jul 2004 09:34:24 -0500, Jake Stonebender
[EMAIL PROTECTED] wrote:
?php if(strlen($_POST['item01'] . $_POST['item02'] .$_POST['item03'])) { ?
That's what I actually meant. Sorry.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo