This repository has been archived on 2020-08-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nemubot-askweb/questions.php
2012-05-18 22:11:42 +02:00

21 lines
387 B
PHP
Executable file

<?php
define("FILENAME", "questions_file.nemubot");
if (isset ($_POST['send']))
{
if (empty($_POST['question']) || empty($_POST['answer']))
{
echo "Il manque la question ou la réponse !";
}
else
{
$question = $_POST['question'];
$answer = $_POST['answer'];
echo 'La question est : ' . $question . "<br/>";
echo 'La réponse est : ' . $answer;
}
}
?>