Umil.table insert

umil::table_insert –– Insert data to a database table using the Umil Library.

Description
string umil::table_insert ( mixed $table_name [, array $data ] ) Note: This function is depreciated and will be replaced with table_row_insert in 1.0.0+

Return Values
Returns result or umil_end data

Information
This function only acts as a wrapper for the db::sql_multi_insert function to make inserting data simpler with UMIL.

This function is only available in UMIL 1.0.0-RC3+

Example #1
Insert one row into the phpbb_test table $umil->table_insert('phpbb_test', array( array(       'field1'  => 'asdf',        'field2'  => 'asdf',    ), ));

Example #2
Insert 3 rows into the phpbb_test table $umil->table_insert('phpbb_test', array( array(       'field1'  => 'asdf',        'field2'  => 'asdf',    ), array(       'field1'  => 'qwer',        'field2'  => 'qwer',    ), array(       'field1'  => 'zxcv',        'field2'  => 'zxcv',    ), ));