RE: [PHP-DB] html - php

From: Date: Fri, 28 Jul 2000 16:32:13 +0000
Subject: RE: [PHP-DB] html - php
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1607@lists.php.net to get a copy of this message
Hi Isabelle If I understand this correctly, when the user submits the form you want the result to be 1 or 0, yes? If so, on the page the form is submitted to do $c1 = isset($c1); This will return 1 if check or 0 if not M@ > -----Original Message----- > From: ROUSSY, ISABELLE [mailto:isabelle.roussy@bell.ca] > Sent: 28 July 2000 16:47 > To: php > Subject: [PHP-DB] html - php > > > Hi, > > I want c2 to be already set to 0 or 1 (rather than ON or OFF) when > submitting to the other page > > echo "<td width=20% height=19><input type=checkbox name=c1> > Account collection</td>\n"; > > when checked I want c1=0 when OFF I want c1=1 > > thanks > > -- > Isabelle Roussy > Bell Canada > IS/IT - Billing Requirements > 700 de La Gauchetiere W B8W2 Montreal Qc H3B 4L1 > Mailto:isabelle.roussy@bell.ca > Office (514) 391-7939 Fax (514) 393-8162 > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#1607) next »