I'd make another table to link the two together, with two columns: topicid and quoteid. Add a row to this table for each connection.
I'd make another table to link the two together, with two columns: topicid and quoteid. Add a row to this table for each connection.