query_one("SELECT * FROM tcs_to_mt WHERE tcs_other_id = '".$alias."'"); if (!$article[mt_basename]) { print "Error: article not found ($alias)"; exit; } $article[mt_basename] = str_replace('_', '-', $article[mt_basename]); // print $article[mt_basename]; header("Location: http://www.ideasinactiontv.com/tcs_daily$article[mt_basename]"); } ?>