0
    INSERT INTO Products  (Backorderable , CategoryID , Cost , CostExTax , DetPage , Enabled , FreightMode , ImageFile , Inventory , LongDescription , LongDescriptionMode , PerUnitShippingCharge1 , PerUnitShippingCharge2 , PerUnitShippingCharge3 , PerUnitWeight , ProductCode , ProductColor , ProductName , ProductSize , QBModified , Service , ShortCode , ShortDescription , ShortDescriptionMode , UseColor , UseSize , PageTitle , MetaDescription , MetaKeywordList , UseDefaultPageTitle , UseGlobalMetaDesc , UseGlobalMetaKeywords , SortOrder , PlainTextDescription , IncludeInFeeds , Available , HidePrice , HideBuyButton , UnavailableMessage , dtModified , ProductID , RRP ) VALUES (0, NULL, 199, 0, -1, -1, NULL, N'images/stories/virtuemart/product/slice.jpg', 0, N'<P class=MsoNormal><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">The SLICE™ Fabrique is a revolutionary fabric-cutting tool that makes quilting easier. </SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Don't spend hours cutting intricate designs with scissors when you can save time by allowing the </SPAN><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">SLICE™&lt;/SPAN><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"> Fabrique to do all the work for you. The </SPAN><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">SLICE™&lt;/SPAN><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"> Fabrique works with design cards specifically customized for fabric so you can cut alphabets, numbers, flowers, icons, basic shapes, and more.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Apply a fusible web to your cotton fabric, felt or flannel and you are ready to start Slicing. If you can imagine it, you can </SPAN><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">SLICE™&lt;/SPAN><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"> it.<SPAN>&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">The </SPAN><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">SLICE™&lt;/SPAN><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"> Fabrique is unlike anything you have ever seen. It's a one-of-a-kind tool that fits within everybody's budget. Save time and money while creating projects that will last a lifetime. </SPAN></P><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Arial>The Machine comes with 3 replacement blades, blade adjustment wrench, 6x6" glass cutting mat, repostitionable adhesive, foam brush, 3- 6x6" fusable web sheets, quick start guide, apllique basics SD design card, design card book.</FONT></DIV></SPAN>
<P class=MsoNormal><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"></SPAN>&nbsp;</P>', NULL, 0, 0, 0, 0, N'37013', NULL, N'Slice Fabrique RRP $250.00', NULL, 0, 0, N'', NULL, NULL, 0, 0, N'', NULL, NULL, -1, -1, -1, NULL, NULL, -1, -1, 0, 0, NULL, NULL, 51, NULL);

我想将此记录插入到 mysql 表中,但由于斜线问题,它没有插入问题是我不能使用 mysql_real_escape_string 我必须手动删除每个引号mysql 中可以为我做的任何函数......我有成千上万条这样的记录

4

1 回答 1

1

不要——我再说一遍不要把那些东西放到数据库中。只需将数据放入其中。然后在提取它时,您可以在它周围放置 HTML/CSS 的花里胡哨。

于 2012-09-22T14:11:34.110 回答