RE: [PHP] Help with conditionals

From: Date: Tue, 03 Dec 2002 01:24:06 +0000
Subject: RE: [PHP] Help with conditionals
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-126789@lists.php.net to get a copy of this message
> 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...

« previous php.general (#126789) next »