Array iteration issue
- by Tao
i have this array which i echo and get this results:
$hostess_ids[]=$row['hostess_id'];
$j=0;
foreach($hostess_ids as $hostess_selected){
$hostess_array= explode("-",$hostess_selected);
echo var_dump($hostess_array);
This is the output
array(1) { [0]=> string(2) "16" } array(1) { [0]=> string(2) "16" } array(1) { [0]=> string(0) "" }…