There is no such thing as an unanswered prayer, Gods answer is either Yes, my child. or its No, child I have something better for you. so when you dont get what you thought you were wanting just think, Gods plan is better for you. He wont lead you astray.
Philippians 6 Be careful for nothing; but in every thing by prayer and supplication with thanksgiving let your requests be made known unto God. 7 And the peace of God, which passeth all understanding, shall keep your hearts and minds through Christ Jesus.