Code:
$db = mysqli_connect("localhost","root","54825482","MyO"); $result = mysqli_query("SELECT id FROM users WHERE login = '$login'" ,$db) or die('Cann`t query '.mysql_error); Mistake:
mysqli_query () expects parameter 1 to be mysqli, string given in C: \ www ... Cann`t query mysql_error
I can not understand what the problem