Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $xml_pf_file = "product_datafeed.xml";
- $Price = $feedClient[''.$def_price.''];
- $DeepLink = $feedClient[''.$def_url.''];
- $EanNr = $feedClient[''.$def_ean.''];
- if ((strlen($EanNr) > 8) && is_numeric($EanNr))
- {
- $ProductId = CheckEanNrInProductDatabase($EanNr);
- if ($ProductId > 0)
- {
- $sql_add = "INSERT INTO ProductsFeedPrices
- (ProductId, CustomerId, Price, Deeplink) VALUES
- (".$ProductId.", ".$CustomerId.", ".$Price.", '".$DeepLink."') ";
- if (mysql_query($sql_add)) {
- $teller_add++;
- }
- $count_add++;
- }
- }
- $count_i++;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement