"; $notification .= "36 Beden Adeti: " . $order_quantity_36 . "
"; $notification .= "38 Beden Adeti: " . $order_quantity_38 . "
"; $notification .= "40 Beden Adeti: " . $order_quantity_40 . "
"; $notification .= "42 Beden Adeti: " . $order_quantity_42 . "
"; $file = 'bildirimler.txt'; $current = file_get_contents($file); $current .= $notification . "
"; // Her bildirim için 1 satır file_put_contents($file, $current); } if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['order_submit'])) { $urun_kodu = $_POST['urun_kodu']; $order_quantity_36 = $_POST['order_quantity_36']; $order_quantity_38 = $_POST['order_quantity_38']; $order_quantity_40 = $_POST['order_quantity_40']; $order_quantity_42 = $_POST['order_quantity_42']; echo "
Sepetinizdeki ürün: $urun_kodu
"; echo "36 Beden: $order_quantity_36 adet
"; echo "38 Beden: $order_quantity_38 adet
"; echo "40 Beden: $order_quantity_40 adet
"; echo "42 Beden: $order_quantity_42 adet
"; createNotification($urun_kodu, $order_quantity_36, $order_quantity_38, $order_quantity_40, $order_quantity_42); } else { echo "Sepetinizde ürün bulunmamaktadır.
"; } ?> >" method="post"> <input class="confirm-button" type="submit" name="order_submit" value="ONAYLA"> </form>