I am trying to error check a form that on submitting creates an array, however no value in that error can be empty, how can I check this using PHP, the array looks like this,
Array
(
[campaign_title] =>
[campaign_keyword] =>
[introduction] =>
[position] => left
[campaign_headline] => Array
(
[0] =>
)
[article] => Array
(
[0] =>
)
[save_multiple] => Save
)
I know I would need to do something like below but from then I am totally lost,
foreach($post as $k=>$v) {
//do some loop to check each key as a value?
}