Problem with form to database
-
Good morning, I hope it goes well, yes me ??
I have a problem with sending information from one form to my database.
I tried SEVERAL script that does not work, had less, with the plugin “Insert PHP”.
I would retrieved via a form, first_name, last_name, username (which will be the e-mail address) and email.
The rest, I defined myself.
I tried this script, but it does not work.
Here is my script in question.
//Connecting to sql db. $connect = mysqli_connect("xxxxxxxxxx","xxxxxxxx","xxxxxxxxxxx","xxxxxxxxxx"); //Sending form data to sql db. mysqli_query($connect,"INSERT INTO users (id, first_name, last_name, username, email, password, paypal_email, recurring_paypal_email, recurring_checkout_email, sms_balance, voice_balance, assigned_number, defaultgreeting, active, created, voicemailnotifymail, apikey, file_name, email_alerts, email_alert_options, low_sms_balances, email_alert_credit_options, sms_credit_balance_email_alerts, low_voice_balances, VM_credit_balance_email_alerts, account_activated, register, package, next_renewal_dates, pay_activation_fees_active) VALUES ('43', '$_POST[first_name]', '$_POST[last_name]', '$_POST[username]', '$_POST[email]', 'pass', 'NULL', 'NULL', 'EE', ' ', '50', '10', '18198372898', 'Leave a message for THIS VOICEMAIL at the beep and..', '1', '2015-01-23 11:18:06', ' ', 'INS217409117DF', ' ', '0', '1', ' ', '1', '0', ' ', '0', 'AXU8DF', '1', '0', '0000-00-00', '2')";
And here the table structure:
https://demo.ovh.eu/view/60509011bd5bbb28cf337faac94e4f72/0Can anyone help me ?
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Problem with form to database’ is closed to new replies.