Array: replace the element with other predefined values
===

i have an array say 
  `array1(asd,ard,f_name,l_name)` 
now i want to replace 
some value as

asd with agreement start date

f_name with first name.

l_name with last name.

what i have done is this, but it is not checking for second if condition

      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';}
     }