require('config.php'); $settings = mysqli_fetch_assoc(mysqli_query($con, "SELECT * FROM `settings` WHERE `id`='1';")); if(isset($_POST['add'])){ $add = $_POST['add']; }else{ $add = 1; } include 'head_code.php'; ?>