What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Create registration form and saved it on my databaseAsked by dagogo on July 06, 2013 at 02:47 PM
please i need a simple php registration script that for a sql sever and that all
If you'd like to use JotForm in your registration system, please follow this workaround right here: How to Insert/Update Submissions to Your MySQL Database Using PHP.
Note that we do not have integration with external databases as of the moment so the workaround should at least help you achieved the function you want.
If you have problems or difficulties applying this workaround, let us know here. Thanks!
amm new to php programming you do a lot of good if you just paste the full script and where to change to my data base i understand the one on the forum
am new to php programming, you will do me a lot of good if you just paste
the full script and where to change to my data base i dont understand the
please the complete code is want i want and just full script. you can use
php comment to add details to script.
Everything is explained on the provided workaround. It is written step by step. We'd suggest to give it a try let us know which part you are having difficulties so we can provide you assistance.
the step is what i don understand which is
The data being posted by JotForm is actually an array so to find out the
array keys and values, you will have to try to insert this in your script:
print_r( $_POST ); ?>
Next: Do an actual submission to test your form and get the result. Once
you have submitted the form, it should be redirected to your custom
thank-you URL that will receive the post data. Here's an example of the
data from a sample form: http://www.jotform.com/form/11814245193
[submission_id] => 186725738203177939
[formID] => 11814245193
[ip] => 184.108.40.206
[name] => sample name test data
[email] => firstname.lastname@example.org
[phonenumber13] => Array
 => 3343
 => 4234
[subject7] => Technical Support assistance
[message6] => test
where do i put the above script. is in the code i got from site or in php
registration script or my html file that display the form
That is how you'll get the array keys and values from your form fields. You don't need to copy that codes, your form is different from that.
1. Create a PHP file that contains the codes: <?php print_r( $_POST ); ?>
2. You'll have to upload and set this PHP File as your custom thank your URL (Custom Thank You URL).
3. After that, test the form so you will see the array keys.
4. From the keys provided, create a table to your database.
Follow the next process. Can you please let us know the form URL?