用sql语句即可实现,实例如下:
INSERT INTO `ad` (`id`, `title`, `type_id`, `source`, `remark`, `pic`, `pic1`, `content`, `filepath`, `in_date`, `if_zhiding`, `hit_count`, `ad_type`, `imgurl`) VALUES
(1, '频道页保健学堂', 1, NULL, '', '20110713hxAWPrUv.jpg', NULL, '', '', '2011-07-13', 50, 0, 'pic', '#'),
(2, '频道页养生长寿', 1, NULL, '', '20110713SgCywdqe.jpg', NULL, '', '', '2011-07-13', 50, 0, 'pic', '#');
for循环
不知道你用什么语言