There is a form for adding data to the database
</head> <body> <center> <?php $host="localhost"; $user="lrsqkuxp_bd"; $pass="RISEZID123"; //установленный вами пароль $db_name="lrsqkuxp_bd"; $link=mysql_connect($host,$user,$pass); mysql_select_db($db_name,$link); mysql_query('SET NAMES utf8'); //Если переменная Name передана if (isset($_POST["Quiz"])) { //Вставляем данные, подставляя их в запрос $sql = mysql_query("INSERT INTO `products` (`Quiz`, `Answer`) VALUES ('".$_POST['Quiz']."','".$_POST['Answer']."')"); //Если вставка прошла успешно if ($sql) { echo "<p>Данные успешно добавлены! Спасибо, Вам, за участие.</p>"; } else { echo "<p>Произошла ошибка.</p>"; } } ?> <table> <form action="" method="post"> <tr> <td>Ваш вопрос:</td> <td><input type="text" name="Quiz"></td> </tr> <tr> <td>Ответ на вопрос:</td> <td><input type="text" name="Answer" ></td> </tr> <tr> <td colspan="2"><input type="submit" style="margin-left: 100px;" value="Добавить запись"></td> </tr> </form> </table> </body> They contribute to the database correctly, but then if you reload the page a couple of times, then the last one is recorded for some reason duplicated 1 to N times 
create unique index products_unique_idx on products (Quiz, Answer)Everything. Double takes no matter how hard you try. - Sergey