Posts by Lucas A. • 13 points
1 post
-
1
votes3
answers1212
viewsQ: PHP - Comparing information
I’m trying to compare the number inserted in the textbox with a number defined in the variable, like this: <?php $campo1 = $_POST['um']; $valor1 = 1; if($campo1 == $valor1){ $msg="ok"; } else{…