[FX.php List] FMP Checkbox
Gjermund Gusland Thorsen
ggt667 at gmail.com
Wed Oct 31 04:59:15 MDT 2007
When do you need this by? There are functions for this in the new
release/Service Pack for FX.php
ggt667
On 10/31/07, Roger Price <rp272 at cam.ac.uk> wrote:
>
>
> I am struggling with a 'checkbox' problem!
>
> The web form passes the values of each box (if checked) and the action page
> reconstructs them into the format that I believed FMP required i.e. values
> separated by the line feed character. The resulting construct looks a bit
> like this:
>
> $category = 'value1' . chr(10) . 'value2' . chr(10) . 'value3'
>
> When $category is posted to FMP the value in the array returned by FMEdit()
> looks like: 'value1value2value3' but in the URL it appears as
> ...&category=value1%0Avalue2%0Avalue3... and as %0A equates
> to chr(10) or line feed it is doing what I intended. However the value
> posted to FMP is: 'value1value2value3'
>
> I have obviously got something wrong although when I find a field with a
> multiple values I can replace 'chr(10)' with something else.
>
> Please can anybody help with this?
>
> Roger
> _______________________________________________
> 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