I have this array:
$auflistung = array ($_POST['jacken'], $_POST['hosen'], $_POST['oberteil'], $_POST['tasche'], $_POST['schuhe'], $_POST['accessoireschmuck1'], $_POST['accessoireschmuck2'], $_POST['accessoireschmuck3'], $_POST['accessoireschmuck4'], $_POST['accessoireschmuck5'], $_POST['accessoireschmuck6']);
It contains e.g.:
array(11) {
[0]=> string(10) "1288023365"
[1]=> string(10) "1246154493"
[2]=> string(0) ""
[3]=> string(10) "1293143681"
[4]=> string(10) "1293143242"
[5]=> string(0) ""
[6]=> string(0) ""
[7]=> string(0) ""
[8]=> string(0) ""
[9]=> string(0) ""
[10]=> string(0) ""
}
Now i need the amount of aviable values. In this case 4
I tried: echo count( $auflistung ); but the result includes allso the empty values, so 11. Any ideas?