ststesting
asked on
php POST "function"?
I have a form that calls a function that inserts the fields in a database.
I can also POST that information to a payment processing company's page.
How can I do both? (and in that order...?)
I can also POST that information to a payment processing company's page.
How can I do both? (and in that order...?)
As Ray write better to post the progress code:
<?php
if(isset($_POST['yoursubmit'])){
//Fetch all data from form like
$fname=$_POST['fname']; //assume you are using fristname
$lname=$_POST['lname'];
//call here the insert function
//if insert is success post values to the payment process as you can see the values are in variables now
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This is exactly what I was looking for.
Thanks! (to everyone)
Thanks! (to everyone)
Also, please see the comment in this question. I think it would be good to explain what happened there.
https://www.experts-exchange.com/questions/28044975/concat-php-array-variables.html?anchorAnswerId=39262764#a39262764