Hey all! Im getting a sntax error and I dont know why?

$sql -> Query ("SELECT * FROM news WHERE upper(news) like '%$query%' ORDER BY id DESC");

Id give you more info, but I never made the script, Im just transporting it from one domain to another and Im having problems... who ever made it though.. im gonna kill didnt comment a single line