5
I know the expression mysql
was discontinued, so I’m trying to use the expression mysqli
, but every time I try to show myself on the screen a syntax error!
example:
$buscaDados = mysqli_query("SELECT * FROM usuario");
Generates this error:
Warning: mysqli_query() expects at least 2 Parameters
How do I correct that mistake?