Conditional statement with array value always false
-
Hey, I’m trying to get a conditional statement with
<?php $info= get_post_meta($post->ID, ‘info’); if ( isset($info[‘test’]) ) { ?>
but its always a false. Any ideas?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Conditional statement with array value always false’ is closed to new replies.