Log 3582

$data = #לידים#;
$numbers = [];
for ($i = 0; $i < strlen($data) – 2; $i++) {
$num1 = intval($data[$i]);
$num2 = intval($data[$i + 1]);
$num3 = intval($data[$i + 2]);

if (($num1 < $num2) && ($num2 < $num3)) {
array_push($numbers, 0);
++$i;
} else {
array_push($numbers, $num1);
}
}

return implode(',', $numbers);

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the comparison bar
Compare