配列 "[4] => 1"の4番目の値に基づいて条件を置換する必要があります。 1 =>「Hello」または0 =>「Hai」PHPの配列値を置き換える方法
Array (
[0] => Array ([0] => 33 [1] => Test [2] => [email protected] [3] => [4] => 1)
[1] => Array ([0] => 36 [1] => Test2 [2] => [email protected] [3] => [4] => 0)
[2] => Array ([0] => 37 [1] => Test4 [2] => [email protected] [3] => [4] => 0)
[3] => Array ([0] => 38 [1] => Test5 [2] => [email protected] [3] => [4] => 0)
)
PHPで行う方法を教えてください。ここで
ただ、例えば、私は真または偽頼むが、私は交換する必要があります1 => "Hello"または0 => "Hai"のようないくつかの名前 – Elankeeran