[FX.php List] Multiple values as check boxes
Stephen Knight 1-800-353-7950
stephen at fmwebschool.com
Fri Apr 15 16:52:51 MDT 2005
Hi Jane,
Send us your page to stephen at fmwebschool.com and I'll take a look at your
code for you :)
In Kindness
Stephen K. Knight
www.fmwebschool.com
1-800-353-7950
Professional FileMaker Web Services
----- Original Message -----
From: "Jane Chinn" <Jane.Chinn at cwu.EDU>
To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
Sent: Friday, April 15, 2005 5:49 PM
Subject: [FX.php List] Multiple values as check boxes
> Hi,
>
> Would it be possible to send me the edit.php file that was included in
> the completed tutorial in the FX.php in 8 Hours book as an attachment.
> It has the ability to edit the states as ck boxes but not the ability
> to use multiple states. Simply replacing the existing code with the
> code below didn't work. I must be missing something.
>
> Thanks,
> Jane
>
> On Apr 11, 2005, at 11:44 AM, Stephen Knight 1-800-353-7950 wrote:
>
> > <? foreach($listsResult['valueLists']['state']as $key=>$value) {
> > if(eregi($value,$state)){
> > $selected='checked';
> > }else{
> > $selected='';
> > }?>
> > <input type="checkbox" name="state[]" value="<?php echo $value;
> > ?>"<?php
> > echo $selected; ?>><?php echo $value; ?>
> > <? } ?>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
More information about the FX.php_List
mailing list