[FX.php List] FMP Checkbox

Gjermund Gusland Thorsen ggt667 at gmail.com
Wed Oct 31 18:31:55 MDT 2007


Never mess with the array cowboys ;-) They Rock!

arrays and foreach are really one of the most beautiful combinations
in php AFAIK.

and heredoc to let your brains focus on anything but quotes ;-)

On 11/1/07, Tim 'Webko' Booth <tim at nicheit.com.au> wrote:
> At 10:16 PM 31/10/2007, you wrote:
> >BTW did you ever consider using arrays?
> >
> ><input type=checkbox name="name[]" value="<<$recid>>"
>
> As a note - this method rocks compared to anything else I've tried.
>
> Concatenation for large checkbox sets is tedious, and you can still
> end up with nothing but a heap of returns - the above creates a
> lovely array to play with :-0
>
> Webko
>
>
> _______________________________________________
> 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