WordPress Form To Email.php and Theme

You need to include the wordpress config file: require $_SERVER[‘DOCUMENT_ROOT’].’/wp-config.php’; OR use a page template if your form handler is in your theme. Take a look at using page template’s in wordpress: http://codex.wordpress.org/Page_Templates

Widget front-end fails to echo as expected from checkbox

on line 49 it seems you have hardcoded in the checkbox value it should actually look like this, it was always going to be true even if it did work as intended: <input id=”<?php echo $this->get_field_id(‘checkbox’); ?>” name=”<?php echo $this->get_field_name(‘checkbox’); ?>” type=”checkbox” value=”<?php echo $checkbox; ?>” <?php checked( ‘1’, $checkbox ); ?> /> also after … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)