How to remove the value not key from the associative array?
For example:
$a = array(0=>yh, 1=>uy,2=>rf);
If remove the value of uy
then o/p:
$a = array(0=>yh,1=>rf,2=>0);
If you are asking how to remove, from the original array, the key/value pair associated with the value 'uy' then perhaps something like this?
$a=array(0=>'yh',1=>'uy',2=>'rf');
array_splice( $a, array_search('uy',$a), 1 );
$a[]=0;
print_r($a);