>       I am calling data from 3 checkboxes in a form,  I can do that
with
> the
> $_POST stuff.
> But I want to also do the following:
> 
> 1. If check box x is checked, then also display data from form field
y
> with a <br> after it. (like this:  X  <span
class="highlite">Y</span><br>)

maybe...

if(isset($_POST['x']))
{ echo $_POST['x'] . '<span class="highlite">{$_POST['y']}</span><br>";
}

---John Holmes...



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to