by Maria Kyprianou.
Hello, i created a dropdown menu (select: Yes/No "selectyesno"), and if the user chooses Yes, an if statement becomes true. How can i check/monitor that the user chooses Yes?
I tried the following code, but it doesn't works:
$temp = $_POST['weighted'];
if ($temp==get_string('yes')) {
.....
Thanks in advance