Hi- I would like to take my form submission and write certain fields to a database. The fields I would need to get into variable form so I can write to the database would be name, email, website. The code below is what I found to get me started, but I don't know how to create the variables which will pull the associated fields I need.
I have the code to write to the database, I just need to pull those variables from the form submission. If anyone can help, I'd really appreciate it.
Thanks,
Bryan
<?php
add_action('gform_after_submission', 'post_to_third_party', 10, 2);
function post_to_third_party($entry, $form) {
// Need to create variables with the form values name/email/website
}
?>