私は配列を持っています
array1(asd,ard,f_name,l_name)
今私はいくつかの値を次のように置き換えたいと言います
契約開始日付きのasd
f_nameと名。
l_nameと名前。
私がやったことはこれですが、条件があれば2番目をチェックしていません
for($i = 0; $i < count($changedvalue);$i++){
//Check if the value at the 'ith' element in the array is the one you want to change
//if it is, set the ith element to some value
if ($changedvalue[$i] == 'asd')
{$changedvalue[$i] = 'Agreement Start Date';}
elseif ($changedvalue[$i] == 'ard')
{$changedvalue[$i] == 'Agreement Renewal Date';}
}