How to display the submitted data in the same page?