Jeremygolf
Mitglied
Hi,
I have an array, which I get from mysql. It looks about like this:
[yes,yes,-,no,yes,yes-,yes,no,yes,yes,-,.....]
Now I want to delete all items which are a minus (-). How can I do that?
Array should contain at the and only yes and no.
Thank you
I have an array, which I get from mysql. It looks about like this:
[yes,yes,-,no,yes,yes-,yes,no,yes,yes,-,.....]
Now I want to delete all items which are a minus (-). How can I do that?
Array should contain at the and only yes and no.
Thank you