My code is
$words = array(); $links = array(); $result = mysql_query(\"SELECT `keyword`, `link` FROM `articles` where `link`!=\'\".$act.\"\' \") or die(mysql_er
EDIT: I can't believe it took me that long to understand that you're trying to parse big chunks of HTML with regular expressions. Read the answer to this question: RegEx match open tags except XHTML self-contained tags