Using post title in an array

You could use get_the_title() to store the title inside a variable.. the_title() would actually print the title ..

tech