raffaellkkaa
New Member
\[code\]Array ( [prodNo] => Array ( [0] => P0086 [1] => P0087 [2] => P0088 [3] => P0092 ) ) \[/code\]when I move the index 0 to 2;\[code\]print_r($_SESSION);\[/code\]when I remove the session through click the button....that will show below:\[code\]Array ( [prodNo] => Array ( [3] => P0092 ) ) \[/code\]when I use the array_values() and array_filter()...that will be show below:\[code\]$array = array_values(array_filter($_SESSION['prodNo']));Array ( [0] => P0092 ) \[/code\]It is I hope the result.... but I use \[code\]count()\[/code\] that will show 1...but on the truth situation is P0092 in the \[code\]$_SESSION['prodNo'][3]\[/code\]that will show the 3 error message to said that Undefined offset: 0,1,2 I did't know how to fixed this error.