Hi Friends,
i am using a array and entering some data in array push but in it 0 index i found a array which i not needed.
$msg_id4[]=array();
foreach ($arr_string2 as $value2)
{
$pos2=$value2;
// Get ps_id3
$ps_id3=msgid($response2,$pos2,$length);
array_push($msg_id4, $ps_id3);
}
print_r($msg_id4);
out put i get is
Array ( [0] => Array ( ) [1] => 1101202 [2] => 1100553 [3] => 1100490 [4] => 1099790 [5] => 1099786 )
thier is only 5 record in my data but here due to 0 index i am geting 6 records which create problem for me. it must be 5 record here which start from 0 to 4 index.
anybody help.