Exclude a string ??
Something like:
Code:
$text = "";
$res = mysql_query("SELECT * FROM some_table WHERE (id = \"$SOME_ID\")", $DB_LINK);
while($row = mysql_fetch_array($res))
$text .= str_replace("some text", "", $row);
mysql_free_result($res);
echo $text; Or are you thinking more in the terms of only selecting items, where the text is not pressent ?