MySQL Argument not working

$query = “SELECT * FROM users WHERE cellid = ‘$currcell’ && WHERE username != ‘$currusername’”;

How come this isn’t working? I want to select all the rows where the cellid equal a certain value and exclude the row of the current username?

You should remove that second WHERE.

thanks, works now