Load data from database / rout to another page in the same time

Hi all,
I’m new to this forum, please be sorry if anything wrong.
I’ve a program that, I’ve a list of cetogeries that been loaded form the database. User can select one of these, after the selection, the program should show the results based on the selection in another page. Could you please help me and the helps are appreciated. Thank you.