CodeIgniter Forums

Full Version: insert data while sending form to different url
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]aryan_[/eluser]
I have a form which action is on a third party site. I want to insert data in my database when user clicks submit.

El Forum

[eluser]Dam1an[/eluser]
Could you not make the form action point interally, do what you need with the data, before passing it on to the external site via na API or similar?

El Forum

[eluser]aryan_[/eluser]
I'm a newbie, so need something simple. Can I call a model in view before sending it to third party site?

El Forum

[eluser]aryan_[/eluser]
I tried using model in view, and it works.

Do you have any better idea?

Thanks!