Is there any example how to insert data from an array?

Say I have an array:
Array
(
    [0] => Array
        (
            [kode] => FMIPA
            [name] => Fakultas Matematika dan Ilmu Pengetahuan Alam
        )

    [1] => Array
        (
            [kode] => FSRD
            [name] => Fakultas Teknologi Industri
        )
...
...
...
    [1000] => Array
        (
            [kode] => FSRD
            [name] => Fakultas Seni Rupa dan Desain
        )
)


And my schema:
  fakultas:
    _attributes: { phpName: Fakultas }
    id: ~
    kode: { type: VARCHAR, size: '50', required: true }
    name: { type: VARCHAR, size: '50', required: false }


-- 
-husain-

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to