<?php
$array = [
["id" => 0, "input_Data" => "Up to 15 Groups / Month"],
["id" => 1, "input_Data" => "Up to 60 CSV File Importing / Month"],
["id" => 2, "input_Data" => "Up to 15 SMTP Config"],
["id" => 3, "input_Data" => "Up to 20 Email Template Can Make"],
["id" => 4, "input_Data" => "Up to 150 Ai Writer Call / Month"],
["id" => 5, "input_Data" => "Markitach SMTP Limit 1000 Emails"]
];
$find = 3;
$replace = "Up to the boss";
foreach ($array as &$row) {
if ($row['id'] === $find) {
$row['input_Data'] = $replace;
break;
}
}
var_export($array);
preferences:
26.83 ms | 404 KiB | 5 Q