Save repeater area in db

webcrea 09 May, 2018
Hi,

The data in enfants come from repeater area, how can i save it in db ?
Array
(
    [clients_id] => 2
    [chronoform] => mieux-vous-connaitre
    [event] => submit
    [client] => Array
        (
            [id] => 2
            [civilite] => Mr
            [nom] => hounau
            [prenom] => christophe
            [date_de_naissance] => 1974-04-24
        )

    [enfants] => Array
        (
            [0] => Array
                (
                    [enfant_prenom] => marie
                    [enfant_date_de_naissance] => 2007-04-23 15:00:00
                )

            [1] => Array
                (
                    [enfant_prenom] => moïra
                    [enfant_date_de_naissance] => 2005-08-30 15:00:00
                )

        )

    [btn_envoyer] => 
    [720planBAK] => R3744883206
    [a146f7452dd44ccfce7d8c41201ede90] => 7029ac1311ddf0efa509fd7a15a752f2
    [f1d49ec7bfdc9e863f230cb850acd4d2] => 0e8d7f89dae423807d03c74d53723037
    [_ga] => GA1.2.1732574282.1525848590
    [_gid] => GA1.2.3886088.1525848590
    [joomla_user_state] => logged_in
    [720planD] => R1415157273
    [_gat] => 1
    [Itemid] => 585
    [option] => com_chronoforms6
    [view] => form
)
the db's structure
#
Nom TypeInterclassementAttributsNullValeur par défautCommentairesExtra1
idint(11) NonAucun(e)AUTO_INCREMENT2
clients_id int(11) NonAucun(e)3
enfant_prenom varchar(255) utf8_general_ciNonAucun(e)4
enfant_date_de_naissance date NonAucun(e)5
created datetime NonAucun(e)6
modified datetime NonAucun(e)7
users_id int(11) NonAucun(e)

Thanks
Regards
Chris
This topic is locked and no more replies can be posted.