Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37677

dropdown menus

$
0
0
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


Viewing all articles
Browse latest Browse all 37677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>