If it is a stored procedure just use two insert statements
insert into table1 (...) values (...)
insert into table2 (...) values (...)
We can't help you with your display issue as we don't know about your tables or what you want to show. We only know what you tell us, we can't access your code or your database and we can't read your mind.