Ok I'm running my wordpress in debug mode. I'm getting lot of notices.
This is my code.
<?php
//allows the theme to get info from the theme options page
global $options;
foreach ($options as $value) {
if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; }
else { $$value['id'] = get_option( $value['id'] ); }
}
?>
This is what i'm seeing.
Notice: Undefined index: id in functions\get-options.php on line 5
Notice: Undefined index: std in functions\get-options.php on line 5
These notices repeated around 20 times. Whats wrong in my code?. Can anyone help me to fix those errors. Thanks.

$options– Bainternet♦ Aug 14 '11 at 8:05$optionscode – Giri Aug 14 '11 at 14:19