Skip to content
Advertisement

PHP POST method Form Redirecting on action Page

I have created a simple HTML Form With Action on Different Website After form data submission user is redirecting to action page but I want user stay on my website and form data go on another website..please help me

here is sample form

JavaScript

Advertisement

Answer

Use an iframe, and submit the data to that, using target="iframeName", for example:

JavaScript

This way you will stay on the same page.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement