I know most of the time this error means that you made a typo in your query but I cant seem to find anything wrong. When I run this query in phpmyadmin(with the variable of course replace by input), the results will show up.
So this is the code:
<?php
$mysqli= new mysqli('localhost','root','','something');
$query= $mysqli->prepare("select name,number,email,token from personen where token=?");
$query->bind_param("s",$token);
$query->execute();
?>
This error means my $query
returns false right? I've checked everything myself on typos and I cant find a typo 100% sure. Is there anyway to find my mistake in this error?