# Insert 插入数据 > insert($data) 中文 : 插入($data) data [array] 插入到表里的数据 Return: [number] 返回插入的id ~~~ insert(array( "user" => "admin", "pass" => "admin", )); //返回插入的ID $User->id(); //中文语法 $User->插入(array( "user" => "admin", "pass" => "admin", )); } } ~~~ ## 插入多条数据 ~~~ insert(array( array( "user" => "admin", "pass" => "admin", ), array( "user" => "admin1", "pass" => "admin1", ) )); } } ~~~