can anyone see why this statement is not working? im attempting to select all except the value in $creator, I know the value is set because a echo statement just below the query reveals the value,
$this->res = mysqli_query($con,"SELECT * FROM escrow WHERE name !=$creator ");
Ive discovered that this works:
$this->res = mysql_query("SELECT * FROM challenges_created WHERE name !='$creator'");
but this is not working: $this->res = mysqli_query($conn,"SELECT * FROM challenges_created WHERE name !='$creator'");
obviously the syntax is wrong somewhere in the latter of the 2