Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/71.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用PHP在数据库中插入数千条记录_Php_Mysql - Fatal编程技术网

使用PHP在数据库中插入数千条记录

使用PHP在数据库中插入数千条记录,php,mysql,Php,Mysql,我正在生成此类数据: INSERT INTO `mytable` (`idSample`, `postSampeId`, `title`, `link`, `description`, `date`, `views`, `clicks`, `isDeleted`) VALUES (41021, 121, 'Job Board Detox Tip #9: Attend a Networking Event for Non-Job Seekers', 'http://www.careerea

我正在生成此类数据:

INSERT INTO `mytable` (`idSample`, `postSampeId`, `title`, `link`, `description`, `date`, `views`, `clicks`, `isDeleted`) VALUES
    (41021, 121, 'Job Board Detox Tip #9: Attend a Networking Event for Non-Job Seekers', 'http://www.careerealism.com/job-board-detox-networking-event/', '<img src=''http://www.careerealism.com/home/jtodonnell/careerealism.com/wp-content/uploads/2012/08/Job-Board-Detox-Networking-Event-Featured.png'' style=''float:left;'' />\nToday&rsquo;s&nbsp;job board detox&nbsp;tip: Attend a networking event for non-job seekers.\nYes, your challenge today is to attend a networking event that is NOT targeted to job seekers. Why? Because it will help you to meet the target audience you ', '16 Aug 2012, 12:30 am', 523, 0, 0),
    (41026, 78, 'Olympic Sponsors Go For Gold Online [INFOGRAPHIC]', 'http://feeds.mashable.com/~r/Mashable/SocialMedia/~3/MPop6ENLC94/', '\n\n\n\nThe Olympics are over, and whether you were watching or not, you probably couldn''t avoid their sponsors'' ads. \nUnmetric, a service that tracks brands'' online presence, collected data leading up to the Games to see how sponsors stacked up against ', '16 Aug 2012, 12:58 am', 410, 0, 0),
    (41025, 75, 'Updated Google Play app reveals gift card support, wish list coming soon?', 'http://www.engadget.com/2012/08/16/google-play-wishlist-gift-card-leak/', '<img src=''http://www.blogcdn.com/www.engadget.com/media/2012/08/gplaywishlishgiftcardandroidpolice.jpg'' style=''float:left;'' />\n \n If the images and link settings Android Police has dug up from the most recent (v3.8.15) Google Play APK that''s rolling out are correct, we could see a coupe more features coming to the Android app and media store soon. First up are very fleshed ', '16 Aug 2012, 12:14 am', 436, 0, 0),
    (41028, 95, 'The Gadgets that Got Us Going, Back in 2002 [Gizmodo10]', 'http://feeds.gawker.com/~r/gizmodo/full/~3/9K9bDZpH58g/the-gadgets-the-got-us-going-back-in-2002', '<img src=''http://img.gawkerassets.com/img/17unbdb2iwfzmjpg/original.jpg'' style=''float:left;'' />\n\n                                                         \n                      \n                                  \n              Gizmodo is officially 10 years old! And, while we''ve been celebrating this all week, I thought it would be fun (and/or funny) to take a look back at the ancestor gadgets we would all be using if someone were to ', '16 Aug 2012, 12:00 am', 402, 0, 0),
    (41029, 95, 'US Suffers Another Blow in Its Case Against Kim Dotcom [Kim Dotcom]', 'http://feeds.gawker.com/~r/gizmodo/full/~3/RVKHECRt2eI/us-suffers-another-blow-in-its-case-against-kim-dotcom', '<img src=''http://img.gawkerassets.com/img/17w42we7bn5bgjpg/original.jpg'' style=''float:left;'' />\n\n                                                            \n                      \n                                  \n              Is it okay for me to say that I''m a little glad we''re doing so poorly in our case against Megaupload kingpin Kim Dotcom? I am. I am so glad. I miss Megaupload dearly and I''m truly pleased by this latest news: Ju', '16 Aug 2012, 1:00 am', 402, 0, 0),
    (41032, 66, 'Hanwha Chairman Gets 4-Year Sentence', 'http://online.wsj.com/article/SB10000872396390444508504577592203136561574.html?mod=pls_whats_news_us_business_f', 'A South Korean court sentenced the leader of one of the country''s largest business groups, Hanwha Group, to four years in prison for using corporate funds to pay his own debts. The group plans to appeal the sentence.', '16 Aug 2012, 1:21 am', 523, 0, 0),
    (41031, 98, 'Sunglass Holders, iCloud Dropbox, and Cable Storage [From The Tips Box]', 'http://feeds.gawker.com/~r/lifehacker/full/~3/QakmYYUdVck/', '<img src=''http://img.gawkerassets.com/img/17w305ddlru7zjpg/original.jpg'' style=''float:left;'' />\n\n                                                           \n                      \n                                  \n              Readers offer their best tips for storing your sunglasses in your car, making iCloud work like Dropbox, and storing your cables on-the-go.              More&nbsp;&raquo;\n             \n\n   \n\n\n', '15 Aug 2012, 7:00 pm', 426, 0, 0),
    (41041, 77, 'Dynamic Solar Gets NY-Sun Funding', 'http://feeds.importantmedia.org/~r/IM-cleantechnica/~3/ew8TEuGaQX4/', '<img src=''http://c1cleantechnicacom.wpengine.netdna-cdn.com/files/2012/08/Octagon-@-Roosevelt-Island.jpg'' style=''float:left;'' />\n&nbsp;Dynamic Solar&nbsp;was one of the lucky 16 recipients of the $30 million New York (NY)-Sun award on Wednesday.\nThe purpose of the NY-Sun program is to help businesses and other organizations get electricity from solar energy sources.\n\nThe awar', '16 Aug 2012, 2:01 am', 233, 0, 0),
    (41042, 68, 'Taylor Swift -- Crazy for Break-Up Songs', 'http://www.tmz.com/2012/08/16/taylor-swift-conor-kennedy-we-are-never-ever-getting-back-together-tmz-tv/', 'Taylor Swift has a habit of trashing exes in song ... including her new #1 hit -- so who''s crazier? Taylor or the dudes who keep dating her? Harvey is definitely leaning one way on this.Check out TMZ on TV -- click here to see your local listings!\n', '16 Aug 2012, 2:02 am', 231, 0, 0),
    (41035, 121, 'Ask Our Experts: What’s the Hardest Interview Question and How Do You Answer it?', 'http://www.careerealism.com/hardest-interview-questions-ask-our-experts/', '<img src=''http://www.careerealism.com/home/jtodonnell/careerealism.com/wp-content/uploads/2012/08/Hardest-Interview-Question-Featured.png'' style=''float:left;'' />\nEach week, we ask our experts to answer a&nbsp;career&nbsp;question on behalf of our readers.\nThis week&rsquo;s question is about the&nbsp;hardest interview questions:\n&ldquo;What&rsquo;s the hardest interview question to answer and what tips can yo', '16 Aug 2012, 1:00 am', 357, 0, 0),
    (41036, 121, 'Working as a Mechanic: No Degree, No Problem', 'http://www.careerealism.com/working-mechanic/', '<img src=''http://www.careerealism.com/home/jtodonnell/careerealism.com/wp-content/uploads/2012/08/Mechanic-Career-Featured.png'' style=''float:left;'' />\nThis is a true story as told to DiversityJobs Street Smarts, where you can find career interviews for the job you&rsquo;ve been looking for.&nbsp;Visit to find an interview in your desired field today.&nbsp;\nI am a mechanic at Walls Garage in Greenw', '16 Aug 2012, 1:30 am', 357, 0, 0),
    (41039, 75, 'Acer CloudMobile now available for pre-order in the UK, expected to be released on September 5th', 'http://www.engadget.com/2012/08/16/acer-cloudmobile-smartphone-pre-orders/', '<img src=''http://www.blogcdn.com/www.engadget.com/media/2012/08/acer-cloudmobile-1345036135.jpg'' style=''float:left;'' />\n \n Acer took the gadget world by surprise with its award-winning CloudMobile handset, and now it looks like the company''s finally ready to let consumers get their eager palms on that 4.3-inch, 720p slab. Per online retailer Expansys, Acer''s CloudMob', '16 Aug 2012, 1:00 am', 293, 0, 0),
    (41040, 75, 'Fujitsu''s Stylistic M532 quad-core tablet ships to the US with toughened body, dash of security', 'http://www.engadget.com/2012/08/16/fujitsu-stylistic-m532-quad-core-tablet-ships-to-the-us/', '<img src=''http://www.blogcdn.com/www.engadget.com/media/2012/08/fujitsu-stylistic-m532-launch.jpg'' style=''float:left;'' />\n \n Fujitsu''s Stylistic M532 has had a protracted development process that saw it appear on our radar as early as January; imagine our surprise after it ships to the US with barely more than a knock on the door. Now that it''s here, it looks to be on ', '16 Aug 2012, 1:39 am', 311, 0, 0),
    (41045, 42, 'Ex-Wife Sues Yogurt Mogul', 'http://www.inc.com/maeghan-ouimet/exwife-sues-chobani-ceo.html', '<img src=''http://www.inc.com/uploaded_files/image/100x100/chobanibucket_19761.jpg'' style=''float:left;'' />\nThe hottest brand in yogurt is in the center of a battle over who owns a majority stake in the company.\nHamdi Ulukaya, owner of Greek yogurt company Chobani, received sour news Tuesday: According to the New York Post, his ex-wife Ayse Giray has file', '16 Aug 2012, 1:00 am', 190, 0, 0),
    (41044, 68, 'Marion Jones -- Sells Tiny TX House ... Buys Not-So-Tiny House', 'http://www.tmz.com/2012/08/16/marion-jones-texas-home-gallery/', 'Things are looking up for Marion Jones -- who was infamously stripped of her Olympic gold medals -- because she just traded in her humble Texas home ... for a much nicer version. In case you didn''t already know ... in 2007 Marion -- who was&hellip;\n', '16 Aug 2012, 2:15 am', 220, 0, 0),
    (41051, 47, 'Celeb birthdays for the week of Aug. 19-25', 'http://news.yahoo.com/celeb-birthdays-week-aug-19-25-050243812.html', 'Aug. 19: Actress Diana Muldaur ("Star Trek: The Next Generation") is 74. Drummer Ginger Baker (Cream, Blind Faith) is 73. Singer Johnny Nash is 72. Actress Jill St. John is 72. Singer Billy J. Kramer is 69. Country singer-songwriter Eddy Raven is 68.', '16 Aug 2012, 12:02 am', 119, 0, 0),
    (41052, 47, 'Kuwait drama on war unity contrasts current feuds', 'http://news.yahoo.com/kuwait-drama-war-unity-contrasts-current-feuds-071008420.html', '\nEach night for the past three weeks, families in Kuwait have been transfixed by a drama in which they already know the ending: Iraq forces will be driven out and the shattered Gulf nation will rebuild. But a 30-part television serial on Iraq''s 1990 ', '16 Aug 2012, 2:11 am', 119, 0, 0),
    (41049, 76, 'Because That’s Where The Content Is', 'http://feedproxy.google.com/~r/Techcrunch/~3/_RH5C6yRbqg/', '<img src=''http://tctechcrunch2011.files.wordpress.com/2012/08/chimera.jpeg?w=100&h=70&crop=1'' style=''float:left;'' />\nWhen asked why he robbed banks, legend has it that Willie Sutton said, &ldquo;because that&rsquo;s where the money is.&rdquo;\nI&rsquo;m reminded of this quote today when reading the reports that Apple is in talks with the cable operators about their', '16 Aug 2012, 2:32 am', 136, 0, 0),
    (41047, 75, 'Kobo app for iOS goes international with support for Dutch, French, German, Italian and Spanish', 'http://www.engadget.com/2012/08/16/kobo-app-for-ios-gains-international-support/', '<img src=''http://www.blogcdn.com/www.engadget.com/media/2012/08/kobo-ios.jpg'' style=''float:left;'' />\n \n Kobo''s Android app recently enjoyed a brief stint of global superiority, but that playing field has been leveled with the company''s latest update for iOS. Like the Android version, Kobo for iOS now includes support for Dutch, French, German, Ital', '16 Aug 2012, 2:21 am', 156, 0, 0),
    (41050, 95, 'Dish Network Is Planning Nationwide Satellite Broadband [Rumors]', 'http://feeds.gawker.com/~r/gizmodo/full/~3/OrDCXmlu0oA/dish-network-is-planning-nationwide-satellite-broadband', '<img src=''http://img.gawkerassets.com/img/17w4daw9gc9wjjpg/original.jpg'' style=''float:left;'' />\n\n                                                          \n                      \n                                  \n              People living in the sticks, rejoice! Bloomberg is reporting that Dish Network is planning to roll out a nationwide satellite broadband internet service &mdash;and promises speeds of between 5 and 15 megabits pe', '16 Aug 2012, 2:47 am', 138, 0, 0);
插入到'mytable'('idSample'、'postSampeId'、'title'、'link'、'description'、'date'、'views'、'clicks'、'isDeleted`)值中
(41021121,“就业委员会排毒小贴士#9:参加非求职者的社交活动”http://www.careerealism.com/job-board-detox-networking-event/“,”\n今天的求职板排毒小贴士:为非求职者参加社交活动。\n是的,今天的挑战是参加一个不针对求职者的社交活动。为什么?因为我将帮助您满足您的目标受众(2012年8月16日,上午12:30,523,0,0),
(41026,78,'奥运赞助商在线争夺金牌[信息图表]', 'http://feeds.mashable.com/~r/Mashable/SocialMedia/~3/MPop6ENLC94/,“\n\n\n奥运会已经结束,无论你是否观看,你都可能无法避免赞助商的广告。\n一项跟踪品牌在线形象的服务,收集了奥运会之前的数据,以了解赞助商与“2012年8月16日”的对比情况,1上午2:58',410,0,0),
(41025,75,'更新的Google Play应用程序显示礼品卡支持,愿望列表即将推出?','http://www.engadget.com/2012/08/16/google-play-wishlist-gift-card-leak/“,”\n\n如果Android Police从最新版本(v3.8.15)中挖掘出图像和链接设置Google Play APK的推出是正确的,我们可能会看到Android应用程序和媒体商店即将推出更多功能。首先是“非常充实的”,“2012年8月16日,12:14上午”,436,0,0),
(41028,95,'让我们前进的小玩意,追溯到2002年[Gizmodo10]', 'http://feeds.gawker.com/~r/gizmodo/full/~3/9K9bDZpH58g/the-gadgets-the-get-us-go-back-in-2002’,“\n\n\n\n gizmodo正式10岁了!虽然我们整个星期都在庆祝,但我想它应该是有趣的(和/或有趣的)回顾一下我们所有人都会使用的祖先小工具,如果有人在“2012年8月16日,12:00 am”,402,0,0),
(41029,95,'美国在其针对Kim Dotcom的案件中再次遭受打击', 'http://feeds.gawker.com/~r/gizmodo/full/~3/RVKHECRt2eI/us在针对kim dotcom的案件中又遭受了一次打击,“\n\n\n\n\n我可以说我有点高兴我们在针对kim dotcom的案件中做得这么差吗?”Megaupload金正恩互联网公司?我是。我很高兴。我非常想念Megaupload,我对最新消息感到非常高兴:Ju、2012年8月16日凌晨1:00、402、0、0),
(41032,66,'韩华主席被判4年徒刑','http://online.wsj.com/article/SB10000872396390444508504577592203136561574.html?mod=pls_whats_news_us_business_f韩国一家法院判处韩华集团(Hanwha Group)领导人四年监禁,罪名是他利用公司资金偿还自己的债务集团计划对判决提出上诉。”,“2012年8月16日凌晨1:21”,523,0,0),
(41031,98,'太阳镜架,iCloud Dropbox和电缆存储[来自提示框]', 'http://feeds.gawker.com/~r/lifehacker/full/~3/QakmYYUdVck/,“,”\n\n\n读者提供了将太阳镜存放在车内、使iCloud像Dropbox一样工作以及在旅途中存储电缆的最佳技巧。更多信息(2012年8月15日下午7:00,426,0,0),
(41041,77,'动态太阳能获得纽约太阳基金','http://feeds.importantmedia.org/~r/IM cleantechnica/~3/ew8TEuGaQX4/“,”\n Dynamic Solar是纽约市3000万美元奖金的16位幸运获奖者之一-星期三获得太阳奖。\n纽约太阳计划的目的是帮助企业和其他组织从太阳能资源获取电力。\n\n awar,2012年8月16日,凌晨2:01',233,0,0),
(41042,68,'泰勒·斯威夫特--为分手歌曲疯狂','http://www.tmz.com/2012/08/16/taylor-swift-conor-kennedy-we-are-never-ever-getting-back-together-tmz-tv/泰勒·斯威夫特有在歌曲中诋毁前女友的习惯……包括她的新作《第一首歌》——那么谁更疯狂?泰勒还是那些一直和她约会的家伙?哈维肯定是倾向于这一点是。请在电视上查看TMZ--单击此处查看您的本地列表!\n',2012年8月16日,凌晨2:02',231,0,0),
(41035121,'询问我们的专家:面试中最难的问题是什么?你如何回答?','http://www.careerealism.com/hardest-interview-questions-ask-our-experts/“,”\n每周一次,我们请专家代表读者回答一个职业问题。\n本周的问题是关于最难的面试问题:\n&ldquo;什么&rsquo、 It’这是最难回答的面试问题,你能给我什么建议,
(41036121,“作为一名技工工作:没有学位,没有问题”http://www.careerealism.com/working-mechanic/“,”\n这是向DiversityJobs Street Smarts讲述的真实故事,您可以在这里找到您一直在寻找的工作的职业面试。今天,请访问以找到您所需领域的面试机会。\n我是Gr Walls Garage的技工2012年8月16日凌晨1:30,357,0,0),
(41039,75,'宏碁CloudMobile现已在英国预购,预计将于9月5日发布'http://www.engadget.com/2012/08/16/acer-cloudmobile-smartphone-pre-orders/“,”\n\n宏碁凭借其屡获殊荣的CloudMobile手机出人意料地进入了小工具世界,现在看来该公司终于准备好让消费者将他们热切的手掌放在4.3英寸720p的平板上。根据在线零售商Expansys,宏碁的CloudMob,2012年8月16日凌晨1:00,293,0,0),
(41040,75,“富士通”风格的M532四核平板电脑以钢化机身、安全仪表的破折号运往美国
$str = "
INSERT INTO `mytable` (`idSample`, `postSampeId`, `title`, `link`, `description`, `date`, `views`, `clicks`, `isDeleted`) VALUES
        (41021, 121, 'Job Board Detox Tip #9: Attend a Networking Event for Non-Job Seekers', 'http://www.careerealism.com/job-board-detox-networking-event/', '<img src=''http://www.careerealism.com/home/jtodonnell/careerealism.com/wp-content/uploads/2012/08/Job-Board-Detox-Networking-Event-Featured.png'' style=''float:left;'' />\nToday&rsquo;s&nbsp;job board detox&nbsp;tip: Attend a networking event for non-job seekers.\nYes, your challenge today is to attend a networking event that is NOT targeted to job seekers. Why? Because it will help you to meet the target audience you ', '16 Aug 2012, 12:30 am', 523, 0, 0),
        (41026, 78, 'Olympic Sponsors Go For Gold Online [INFOGRAPHIC]', 'http://feeds.mashable.com/~r/Mashable/SocialMedia/~3/MPop6ENLC94/', '\n\n\n\nThe Olympics are over, and whether you were watching or not, you probably couldn''t avoid their sponsors'' ads. \nUnmetric, a service that tracks brands'' online presence, collected data leading up to the Games to see how sponsors stacked up against ', '16 Aug 2012, 12:58 am', 410, 0, 0),
        (41025, 75, 'Updated Google Play app reveals gift card support, wish list coming soon?', 'http://www.engadget.com/2012/08/16/google-play-wishlist-gift-card-leak/', '<img src=''http://www.blogcdn.com/www.engadget.com/media/2012/08/gplaywishlishgiftcardandroidpolice.jpg'' style=''float:left;'' />\n \n If the images and link settings Android Police has dug up from the most recent (v3.8.15) Google Play APK that''s rolling out are correct, we could see a coupe more features coming to the Android app and media store soon. First up are very fleshed ', '16 Aug 2012, 12:14 am', 436, 0, 0),
        (41028, 95, 'The Gadgets that Got Us Going, Back in 2002 [Gizmodo10]', 'http://feeds.gawker.com/~r/gizmodo/full/~3/9K9bDZpH58g/the-gadgets-the-got-us-going-back-in-2002', '<img src=''http://img.gawkerassets.com/img/17unbdb2iwfzmjpg/original.jpg'' style=''float:left;'' />\n\n                                                         \n                      \n                                  \n              Gizmodo is officially 10 years old! And, while we''ve been celebrating this all week, I thought it would be fun (and/or funny) to take a look back at the ancestor gadgets we would all be using if someone were to ', '16 Aug 2012, 12:00 am', 402, 0, 0),
        (41029, 95, 'US Suffers Another Blow in Its Case Against Kim Dotcom [Kim Dotcom]', 'http://feeds.gawker.com/~r/gizmodo/full/~3/RVKHECRt2eI/us-suffers-another-blow-in-its-case-against-kim-dotcom', '<img src=''http://img.gawkerassets.com/img/17w42we7bn5bgjpg/original.jpg'' style=''float:left;'' />\n\n                                                            \n                      \n                                  \n              Is it okay for me to say that I''m a little glad we''re doing so poorly in our case against Megaupload kingpin Kim Dotcom? I am. I am so glad. I miss Megaupload dearly and I''m truly pleased by this latest news: Ju', '16 Aug 2012, 1:00 am', 402, 0, 0),
        (41032, 66, 'Hanwha Chairman Gets 4-Year Sentence', 'http://online.wsj.com/article/SB10000872396390444508504577592203136561574.html?mod=pls_whats_news_us_business_f', 'A South Korean court sentenced the leader of one of the country''s largest business groups, Hanwha Group, to four years in prison for using corporate funds to pay his own debts. The group plans to appeal the sentence.', '16 Aug 2012, 1:21 am', 523, 0, 0),
        (41031, 98, 'Sunglass Holders, iCloud Dropbox, and Cable Storage [From The Tips Box]', 'http://feeds.gawker.com/~r/lifehacker/full/~3/QakmYYUdVck/', '<img src=''http://img.gawkerassets.com/img/17w305ddlru7zjpg/original.jpg'' style=''float:left;'' />\n\n                                                           \n                      \n                                  \n              Readers offer their best tips for storing your sunglasses in your car, making iCloud work like Dropbox, and storing your cables on-the-go.              More&nbsp;&raquo;\n             \n\n   \n\n\n', '15 Aug 2012, 7:00 pm', 426, 0, 0),
        (41041, 77, 'Dynamic Solar Gets NY-Sun Funding', 'http://feeds.importantmedia.org/~r/IM-cleantechnica/~3/ew8TEuGaQX4/', '<img src=''http://c1cleantechnicacom.wpengine.netdna-cdn.com/files/2012/08/Octagon-@-Roosevelt-Island.jpg'' style=''float:left;'' />\n&nbsp;Dynamic Solar&nbsp;was one of the lucky 16 recipients of the $30 million New York (NY)-Sun award on Wednesday.\nThe purpose of the NY-Sun program is to help businesses and other organizations get electricity from solar energy sources.\n\nThe awar', '16 Aug 2012, 2:01 am', 233, 0, 0),
        (41042, 68, 'Taylor Swift -- Crazy for Break-Up Songs', 'http://www.tmz.com/2012/08/16/taylor-swift-conor-kennedy-we-are-never-ever-getting-back-together-tmz-tv/', 'Taylor Swift has a habit of trashing exes in song ... including her new #1 hit -- so who''s crazier? Taylor or the dudes who keep dating her? Harvey is definitely leaning one way on this.Check out TMZ on TV -- click here to see your local listings!\n', '16 Aug 2012, 2:02 am', 231, 0, 0),
        (41035, 121, 'Ask Our Experts: What’s the Hardest Interview Question and How Do You Answer it?', 'http://www.careerealism.com/hardest-interview-questions-ask-our-experts/', '<img src=''http://www.careerealism.com/home/jtodonnell/careerealism.com/wp-content/uploads/2012/08/Hardest-Interview-Question-Featured.png'' style=''float:left;'' />\nEach week, we ask our experts to answer a&nbsp;career&nbsp;question on behalf of our readers.\nThis week&rsquo;s question is about the&nbsp;hardest interview questions:\n&ldquo;What&rsquo;s the hardest interview question to answer and what tips can yo', '16 Aug 2012, 1:00 am', 357, 0, 0),
        (41036, 121, 'Working as a Mechanic: No Degree, No Problem', 'http://www.careerealism.com/working-mechanic/', '<img src=''http://www.careerealism.com/home/jtodonnell/careerealism.com/wp-content/uploads/2012/08/Mechanic-Career-Featured.png'' style=''float:left;'' />\nThis is a true story as told to DiversityJobs Street Smarts, where you can find career interviews for the job you&rsquo;ve been looking for.&nbsp;Visit to find an interview in your desired field today.&nbsp;\nI am a mechanic at Walls Garage in Greenw', '16 Aug 2012, 1:30 am', 357, 0, 0),
        (41039, 75, 'Acer CloudMobile now available for pre-order in the UK, expected to be released on September 5th', 'http://www.engadget.com/2012/08/16/acer-cloudmobile-smartphone-pre-orders/', '<img src=''http://www.blogcdn.com/www.engadget.com/media/2012/08/acer-cloudmobile-1345036135.jpg'' style=''float:left;'' />\n \n Acer took the gadget world by surprise with its award-winning CloudMobile handset, and now it looks like the company''s finally ready to let consumers get their eager palms on that 4.3-inch, 720p slab. Per online retailer Expansys, Acer''s CloudMob', '16 Aug 2012, 1:00 am', 293, 0, 0),
        (41040, 75, 'Fujitsu''s Stylistic M532 quad-core tablet ships to the US with toughened body, dash of security', 'http://www.engadget.com/2012/08/16/fujitsu-stylistic-m532-quad-core-tablet-ships-to-the-us/', '<img src=''http://www.blogcdn.com/www.engadget.com/media/2012/08/fujitsu-stylistic-m532-launch.jpg'' style=''float:left;'' />\n \n Fujitsu''s Stylistic M532 has had a protracted development process that saw it appear on our radar as early as January; imagine our surprise after it ships to the US with barely more than a knock on the door. Now that it''s here, it looks to be on ', '16 Aug 2012, 1:39 am', 311, 0, 0),
        (41045, 42, 'Ex-Wife Sues Yogurt Mogul', 'http://www.inc.com/maeghan-ouimet/exwife-sues-chobani-ceo.html', '<img src=''http://www.inc.com/uploaded_files/image/100x100/chobanibucket_19761.jpg'' style=''float:left;'' />\nThe hottest brand in yogurt is in the center of a battle over who owns a majority stake in the company.\nHamdi Ulukaya, owner of Greek yogurt company Chobani, received sour news Tuesday: According to the New York Post, his ex-wife Ayse Giray has file', '16 Aug 2012, 1:00 am', 190, 0, 0),
        (41044, 68, 'Marion Jones -- Sells Tiny TX House ... Buys Not-So-Tiny House', 'http://www.tmz.com/2012/08/16/marion-jones-texas-home-gallery/', 'Things are looking up for Marion Jones -- who was infamously stripped of her Olympic gold medals -- because she just traded in her humble Texas home ... for a much nicer version. In case you didn''t already know ... in 2007 Marion -- who was&hellip;\n', '16 Aug 2012, 2:15 am', 220, 0, 0),
        (41051, 47, 'Celeb birthdays for the week of Aug. 19-25', 'http://news.yahoo.com/celeb-birthdays-week-aug-19-25-050243812.html', 'Aug. 19: Actress Diana Muldaur ("Star Trek: The Next Generation") is 74. Drummer Ginger Baker (Cream, Blind Faith) is 73. Singer Johnny Nash is 72. Actress Jill St. John is 72. Singer Billy J. Kramer is 69. Country singer-songwriter Eddy Raven is 68.', '16 Aug 2012, 12:02 am', 119, 0, 0),
        (41052, 47, 'Kuwait drama on war unity contrasts current feuds', 'http://news.yahoo.com/kuwait-drama-war-unity-contrasts-current-feuds-071008420.html', '\nEach night for the past three weeks, families in Kuwait have been transfixed by a drama in which they already know the ending: Iraq forces will be driven out and the shattered Gulf nation will rebuild. But a 30-part television serial on Iraq''s 1990 ', '16 Aug 2012, 2:11 am', 119, 0, 0),
        (41049, 76, 'Because That’s Where The Content Is', 'http://feedproxy.google.com/~r/Techcrunch/~3/_RH5C6yRbqg/', '<img src=''http://tctechcrunch2011.files.wordpress.com/2012/08/chimera.jpeg?w=100&h=70&crop=1'' style=''float:left;'' />\nWhen asked why he robbed banks, legend has it that Willie Sutton said, &ldquo;because that&rsquo;s where the money is.&rdquo;\nI&rsquo;m reminded of this quote today when reading the reports that Apple is in talks with the cable operators about their', '16 Aug 2012, 2:32 am', 136, 0, 0),
        (41047, 75, 'Kobo app for iOS goes international with support for Dutch, French, German, Italian and Spanish', 'http://www.engadget.com/2012/08/16/kobo-app-for-ios-gains-international-support/', '<img src=''http://www.blogcdn.com/www.engadget.com/media/2012/08/kobo-ios.jpg'' style=''float:left;'' />\n \n Kobo''s Android app recently enjoyed a brief stint of global superiority, but that playing field has been leveled with the company''s latest update for iOS. Like the Android version, Kobo for iOS now includes support for Dutch, French, German, Ital', '16 Aug 2012, 2:21 am', 156, 0, 0),
        (41050, 95, 'Dish Network Is Planning Nationwide Satellite Broadband [Rumors]', 'http://feeds.gawker.com/~r/gizmodo/full/~3/OrDCXmlu0oA/dish-network-is-planning-nationwide-satellite-broadband', '<img src=''http://img.gawkerassets.com/img/17w4daw9gc9wjjpg/original.jpg'' style=''float:left;'' />\n\n                                                          \n                      \n                                  \n              People living in the sticks, rejoice! Bloomberg is reporting that Dish Network is planning to roll out a nationwide satellite broadband internet service &mdash;and promises speeds of between 5 and 15 megabits pe', '16 Aug 2012, 2:47 am', 138, 0, 0);
";

mysql_query( $str ) or die( mysql_error() );
SOURCE filename.sql
$str = <<<EOS
these are my insert statements line 1
these are my insert statements line 2
...
EOS;
these are my insert statements