<?php
require 'connect.php';
$inn = $_REQUEST['radio'];
$id_master = $_REQUEST['radio2'];
$day_inn = $_REQUEST['day_inn'];
$day_out = $_REQUEST['day_out'];
$mysql_insert = "INSERT INTO zakaz(inn,id_master , day_inn, day_out) ".
"VALUES('{$inn}','{$id_master}','{$day_inn}','{$day_out}') ON DUPLICATE KEY UPDATE inn='{$inn}', id_master='{$id_master}', day_inn='{$day_inn}',day_out='{$day_out}';";
mysql_query($mysql_insert) or die ("<p>Error add ".mysql_error());
echo '<p>Done!</p>';
?>
<br><a href="index.php"><button>Back to the menu</button></a>
подзабыл... угу...
Обсуждают сегодня