$sql = mysql_query("SELECT id_articulo, id_autor FROM favoritos WHERE id_articulo='".$id_articulo."' AND id_autor ='".$id_autor ."'");