"i get error when i use mysqli select [closed]" Code Answer

4

do not use single and double quotes in your query. this is the right way:

$query = $mysqli->query("select password from users where username = '$username'");

otherwise, you will not print $username's value.

By hello_its_me on January 5 2022

Answers related to “i get error when i use mysqli select [closed]”

Only authorized users can answer the Search term. Please sign in first, or register a free account.