[FX.php List] Combining checkbox values to write to a single FM
field
Gjermund Gusland Thorsen
ggt667 at gmail.com
Sun Oct 29 04:07:47 MST 2006
Maybe this is a better example?
foreach( $r['data'] as $key => $value ) {
$vl19[] = array(
'web' => $value['category'][0],
'fm' => $value['categoryID'][0]
);
}
On 10/26/06, Bob Patin <bob at patin.com> wrote:
> I know this has to be simple...
>
> I've got a form where there are 19 possible checkboxes, all of which
> need to write to a single field in FileMaker. I've pulled values into
> the form without any trouble (I use strpos to do this, might not be
> the easiest, but it works); to write back to the database with edited
> data, I need to combine my values
>
> $feature1
> $feature2
> $feature3
>
> I tried doing this
>
> $feature = $feature1.'\n'.$feature2.'\n'.$feature3;
>
> but that doesn't give me
>
> Value 1
> Value 2
> Value 3
>
> which is what FileMaker wants to see. What do I need to put between
> my variables to concatenate them properly? I've tried using '<br>'
> but that doesn't work either.
>
> I know this is simple, but my brain can't grok it...
>
> Thanks,
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
>
> CONTACT US VIA INSTANT MESSAGING:
> AIM or iChat: longterm1954
> Yahoo: longterm_solutions
> MSN: tech at longtermsolutions.com
> ICQ: 159333060
>
>
> _______________________________________________
> 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