How to Save Your Form Data in WordPress Database (2024)

Want to save your site’s form data in your WordPress database? With the WPForms plugin, it’s super easy to store your form entries in the native WordPress database.

In this post, we’ll show you exactly how to save contact form data in your WordPress database and how to manage your entries from the dashboard.

Create Your Online Form Now

How to Save Form Data in WordPress Database

It’s fairly easy to store entries from your WordPress form to database. As you’ll learn below, you should be able to access and view your WordPress database even if you don’t have a technical background.

In This Article

  • Where Is the Database in WordPress Stored?
  • How Do I Access My WordPress Database?
  • How to Manage Form Entries in WordPress
  • Not Getting Notifications As New Entries Are Saved? Try This

Let’s jump right into it.

Where Is the Database in WordPress Stored?

Even though you might not see it on the frontend, WordPress automatically creates a database for you when it’s first installed. The name, host, username, and password data are stored in the configuration file called wp-config.php under MySQL database settings.

WPForms is the best WordPress Form Builder plugin. Get it for free!

WPForms is an online form builder with WordPress data collection features. The WPForms plugin automatically stores all submitted data in 4 tables in the native WordPress database. They are:

  • wp_wpforms_entries: The info in the fields (values) of your entries is stored in this database table.
  • wp_wpforms_entry_meta: This table has meta info about your entries like associated IDs and dates.
  • wp_wpforms_entry_fields: This table contains encoded entry information from your forms.
  • wp_wpforms_tasks_meta: This table stores information about tasks that are processed in the background.

Note that the wp_ prefix in the table name is the default. The actual value is set in the wp-config.php file in WordPress. So in your WordPress installation, the prefix may look slightly different.

MostWordPress web hosting providers offer easy-to-use web applications like phpMyAdmin to manage databases after your WordPress installation. This is true regardless of whether you’re using unmanaged or managed WordPress hosting.

The name phpMyAdmin may sound strange, but it’s just a database management system. It allows users to manage the database entries on their WordPress site using a visual interface. Pretty cool, right?

If you’re using Bluehost for your WordPress hosting, you can find the link to the phpMyAdmin database server by scrolling to the bottom of the homepage once logged in under Helpful Links » Advanced » phpMyAdmin:

How Do I Access My WordPress Database?

Looking for the WordPress database location? Let’s take a look at how to view form entries in your WordPress database using phpMyAdmin.

Here’s how to access the database so you can find your WordPress data collection from the backend. In phpMyAdmin, select your WordPress database and then click on the tablewp_wpforms_entries.

How to Save Your Form Data in WordPress Database (2)

Here, you can find all your form entries in the fields column.

How to Save Your Form Data in WordPress Database (3)

You can do lots of things here like creating tables. For more details, you can read this beginner’s guide to WordPress database management with phpMyAdmin.

How to Manage Form Entries in WordPress

WPForms is the best WordPress form builder that also lets you easily access your form entries and manage them all inside your WordPress dashboard, acting as a control panel. Storing and retrieving data from the WordPress database is extremely user-friendly with the WPForms plugin.

How to Save Your Form Data in WordPress Database (4)

Let’s take a look at how to manage your form entries on your WordPress website.

Before we get started, let’s create a simple WordPress contact form with WPForms. If you need help, you can refer to this article on how to create a simple contact form with WPForms. You can create a new form entirely from scratch or use a form template from WPForms’ gallery of 500+ templates to get started.

Make sure you’re using a paid version of the plugin. While using the free version of our plugin WPForms Lite, you can only see entry data in the notification email that’s sent when a user submits your form.

If you turn on the Lite Connect feature, your form entry data will be stored in a database and you can unlock it by upgrading to WPForms Pro.

After using the drag and drop builder to create and publish the form, make sure to add a test entry, so we have some data to access from your WordPress dashboard.

Next, go to your form builder and click on Settings » General. Under the Advanced option, ensure that the Disable entry storing information in WordPress option is toggled off.

How to Save Your Form Data in WordPress Database (5)

Now, navigate to WPForms » Entries in your WordPress dashboard to see your test entry.

How to Save Your Form Data in WordPress Database (6)

WPForms lets you favorite your entries, mark them as read, and even delete the ones you don’t want. Here’s a great list of other WPForms power hacks to try.

How to Save Your Form Data in WordPress Database (7)

Also, you can easily search and add filters to your contact form entries in your dashboard. You can broad search by Any form field or set conditions across form fields to search for a specific entry.

How to Save Your Form Data in WordPress Database (8)

If you want, you can also filter form entries by date.

How to Save Your Form Data in WordPress Database (9)

Now, under the Actions column, click View to see your form entry.

How to Save Your Form Data in WordPress Database (10)

And here’s how an individual entry will look.

How to Save Your Form Data in WordPress Database (11)

You can also export these entries as a CSV file or XLSX from this menu.

Not Getting Notifications As New Entries Are Saved? Try This

If you’re seeing your entries in your database but you’re not getting email notifications about them, there are usually 2 main reasons:

1. Your Emails Are Seen As ‘Spoof’ Emails

Spoof emails are similar to spam. Except emails that are suspected of spoofing rarely even make it to an inbox. This usually happens when WordPress sends you a notification when a form is completed using the email of the person who completed it as the “from” sender. This is often flagged as spoofing because this email is coming from your WordPress site and masks the actual sender of the email (your WordPress account).

And then, email notifications can get lost and never end up in your inbox.

2. Your Hosting Company Doesn’t Use the PHP Mail Function

Another reason you’re likely missing email notifications is because of the PHP mail function and your hosting provider.

Your web host may not support the PHP mail function (which is very common these days). WordPress uses the PHP mail function to send emails from your site, including emails generated by contact form plugins. This is why we recommend using SMTP to send emails from WordPress instead of using the default PHP mail function.

Luckily, this is an easy fix.

Install WP Mail SMTP

The easiest and most effective way to fix the Contact Form 7 is not sending email issue for most people is to use WP Mail SMTP. It’s the most powerful SMTP and PHP mailer WordPress plugin on the planet. Plus, there’s also a free version available.

How to Save Your Form Data in WordPress Database (12)One of the greatest things about the WP Mail SMTP plugin is that the Elite plan offers a White Glove Setup service where they do all the installation and the technical stuff for you. Plus, WP Mail SMTP is integrated with many of the most popular transactional mailers like:

  • SendLayer
  • SMTP.com
  • Sendinblue
  • Amazon SES
  • Gmail
  • Mailgun
  • Outlook
  • Postmark
  • SendGrid
  • SparkPost
  • Zoho Mail

To install the WP Mail SMTP WordPress plugin, purchase a paid version (to start including your email logs in your WordPress data collection) or head to your WordPress dashboard to install the plugin for free to access basic features. It’s the best way to get your WordPress form to the database easily.

There are different steps for each mailer you’re using, so to complete setup with this plugin, check out the full guide on how to get WordPress form notifications using the WP Mail SMTP plugin. You’ll be receiving emails from your website in no time.

Next, Export and Save Your Form Entries

That’s it! You now know how to access and manage your WordPress database with a plugin.

If you enjoyed this article, you might also want to read our articles on how to export WordPress form entries to CSV and how to save form submissions as PDF files.

What are you waiting for? Get started with the most powerfulWordPress forms plugintoday.

If you like this article, then please follow us onFacebookandTwitterfor more free WordPress tutorials.

How to Save Your Form Data in WordPress Database (2024)

FAQs

How to save data from an HTML form to a database table in WordPress? ›

There are a few ways to save data from an HTML form to a database table in WordPress. The most popular methods are POSTing the data to a custom post type, saving the data as a custom post meta, or saving the data as a plugin action. POSTing the data to a custom post type is the easiest way to save the data.

Where does WP forms store data? ›

WPForms makes it easy for you to view all your leads in one place to streamline your workflow. All your entries are stored in the WordPress database and are easily accessible inside your WordPress dashboard.

How do I save HTML form data to database? ›

Moving information from an HTML form into a database is a two-step design process. First, create an entry HTML form capable of passing information to a secondary file. Next, create a Hypertext Preprocessor (PHP) file to accept the data and insert it into the database.

How do you store data from a web form into a database? ›

Use Case: Create a New Order
  1. Define Queries. We will define two queries. ...
  2. Generate XML Schema. ...
  3. Create the Form. ...
  4. Link to the Database. ...
  5. Define the SQL Query. ...
  6. Generate an XML Schema. ...
  7. Create the Form. ...
  8. Link to the Database.
Sep 1, 2021

How do I save form data? ›

Step-by-step guide on How to put the HTML form field data in a text file or dot txt file in PHP. Create a PHP file and put the below code and save it. <! DOCTYPE html> <html> <head> <title>Store form data in .

How do you save data in a database? ›

Save database design elements for reuse
  1. Open the database or database object.
  2. On the File tab, click Save As.
  3. Do one of the following steps: To save a database in a different format, click Save Database As. ...
  4. Click the format you want to use for the new copy.

How to store data in database? ›

The data in a database is grouped into a series of database records. Each database record is composed of smaller groups of data called segments. A segment is the smallest piece of data IMS can store. Segments, in turn, are made up of one or more fields.

How do I save a contact form to my database in WordPress? ›

You need to go to the Settings » General tab inside the builder and scroll to the bottom. Next, make sure to check the 'Disable storing entry information in WordPress' option. After that, simply click on the 'Save' button and you're done.

How do I save custom field data in WordPress? ›

Adding Custom Fields in WordPress

Click on the Add Custom Field button to save it. You can edit this custom field any time you want and then click on the update button to save your changes. You can also delete it as needed. Now you can save your post to store your custom field settings.

How do I export data from a form? ›

In Microsoft Forms on the Responses tab, select Open in Excel. Your form responses will open in an Excel workbook. From Excel, you can export or save your form responses as a PDF file.

How do I save a Formdata? ›

Step-by-step guide on How to put the HTML form field data in a text file or dot txt file in PHP. Create a PHP file and put the below code and save it. <! DOCTYPE html> <html> <head> <title>Store form data in .

Top Articles
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 6193

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.