any one have an idea why this doesnt work
$sql="Select * from Users where userid='$uid'";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result)) {
$ignored=$row["ignore"];
$Ignore=explode (",", $ignored);
$ignore1=implode(" ",$Ignore);
}
="SELECT * FROM Message WHERE roomid='1' and whoto=' ' and whofrom NOT IN (' acey meka someonelse') OR roomid='1' and whoto='acey' and whofrom NOT IN (' acey meka someonelse') ORDER by linecount DESC LIMIT 20";
if a name is by itself like so whofrom NOT IN ('acey') it works .. but with multiple names with spaces it doesnt