RE: [PHP-DB] html-php related questions

From: Date: Thu, 27 Jul 2000 08:13:35 +0000
Subject: RE: [PHP-DB] html-php related questions
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1561@lists.php.net to get a copy of this message
Hi Isabelle try this <input type=checkbox name=C1 value=ON <?if($row_result[4]== 1) { echo "checked"; } ?>> HTH M@ > -----Original Message----- > From: ROUSSY, ISABELLE [mailto:isabelle.roussy@bell.ca] > Sent: Wednesday, July 26, 2000 05:27 > To: php > Subject: [PHP-DB] html-php related questions > > > Hi, > > I want a checkbox checked if the following statement is true > if ($row_result[4]== 1) > so how do I code this in the bit of html > > <td width=48% height=19><input type=checkbox name=C1 value=ON>Account > collection &nbsp; </td> > > many 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 (#1561) next »