Working with conditions and the POST Array