if($data['news_cat=1']){ echo "".trimlink(strip_tags(stripslashes($data['news_subject'])), 70)."\n"; }else{ echo "".trimlink(strip_tags(stripslashes($data['news_subject'])), 70)."\n"; }