0
Well what I intended was to make a select, with several parameters other than just 1.
$verifica = mysqli_query($link, "SELECT * FROM usuarios WHERE login='$login'");
In the case of the above code I only have 1 parameter which is if the login = $login, but I wanted to do to add more parameters, ie more conditions, such as age = $age. How can I do that?
Thank you.
"SELECT * FROM usuarios WHERE login='$login' AND idade = '$idade'" - if you want to add more just put the "AND", but it is not a good practice to pass the variables directly this way.
– Fleuquer Lima