can't get other data into my database

  • mackayc
    Asked on September 5, 2019 at 8:03 PM

    I can get the SID to write to my DB but can't get any other values.

    Perhaps I'm using the wrong field names????

    This is what I have in my php file:

    $name = $mysqli->real_escape_string($obj['name']);

    $email = $mysqli->real_escape_string($obj['emailaddress']);

    $store = $mysqli->real_escape_string($obj['store']);

    This is what my post looks like after I submit:

    Array

    (

    [submission_id] => 443529909937xxxxxxx

    [formID] => 9230547xxxxxx

    [ip] => x.x.x.x (I removed the ip for this post)

    [emailaddress] => mackayc@temthrift.com

    [store] => Antioch

    [name] => mackay

  • Richie JotForm Support
    Replied on September 5, 2019 at 9:28 PM

    It seems you're trying to send your submission through post.

    Kindly follow this guide:https://www.jotform.com/help/213-Send-Submission-Data-via-Post-Method-and-Thank-You-Settings

    Please double check your field name/variable if its correct.

    cant get other data into my database Image 1 Screenshot 30

    and make sure that the Send Post Data is enabled.

    cant get other data into my database Image 2 Screenshot 41

    Please give it a try and let us know if the issue still remains.

  • mackayc
    Replied on September 6, 2019 at 12:25 PM

    Thanks that was it!