login != $admin1 && $data->login != $admin2) { exit; } if( $_SERVER['REQUEST_METHOD'] == 'POST' ) { //update layout if( mysql_query("UPDATE instellingen SET mollieaccept='".mysql_escape_string($_POST['mollieaccept'])."' WHERE id=1") ) { echo "Mollie Instellingen zijn gewijzigd."; } else { echo "Foutje: ". mysql_error(); } }//einde verwerking # $select = mysql_query("SELECT * FROM `instellingen`"); # $page = mysql_fetch_object($select); ?>
Extra paneel | |
|