foreach() errors
-
I’m having errors on my footer. The footer.php looks like this through line 4. The error says it’s on line 4 which is the foreach line. Any ideas. I’m not a php guy, as you can tell.
<?php sr_sidebar(‘right’) ?>
<?php
global $options;
foreach ($options as $value) {
if (get_option( $value[‘id’] ) === FALSE) { $$value[‘id’] = $value[‘std’]; }
else { $$value[‘id’] = get_option( $value[‘id’] ); }
}
?>
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘foreach() errors’ is closed to new replies.