Please try below code.
global $wpdb;
$wpdb->insert('$lplifeinsurance_leads',$data,array('%s','%s'));
Related Posts:
- Backup the Database and Restore from the Backup?
- Can I use $wpdb for my custom tables in the WordPress database?
- What Is The Difference Between suppress_errors() And hide_errors() in $wpdb?
- Prevent WordPress from loading comments
- Suggestions for WPMU Migration (advanced)
- Retrieve and display data from custom db table in admin area?
- How to find if a post with custom_field == X exists?
- Custom search page and search by title, content and tag
- What’s the proper way to use a custom table? [closed]
- How to retrieve the value stored in a multi-dimensional array and SUM the entries?
- Adding a Table to the wordpress database
- Creating user relationships
- WP Northwind for Theme Development?
- Fastest way to get the comment and ping total count for a post
- $wpdb->replace: WHERE?
- How to use default WP form elements to interact with custom DB table?
- Your thoughts on the interaction with one custom database table from WP?
- Applying WP-cli Search & Replace to Static SQL Dump File
- Setup database structure with books, authors, languages etc. for publishing house [closed]
- Add table to WordPress database
- Custom Database Table and foreach
- optimal taxonomy or custom post types
- What is my error trying to create a new table in the database?
- Migrating my site to a new domain does not keep any changes made in customizer
- New Page/Post Screen Opens an Existing Post
- Advice on how to structure a custom plugin
- How to have differents sites share the same tables of DB?
- Accountless password generation
- Add several fields from different tables to post, fields per post are in same row of table
- Where should I put this custom data?
- Show WP content on different PHP Sites
- Database custom table issues – incorrect result displayed
- Changing starting number of User ID
- Accessing + retrieving custom database in WordPress
- Advice how to connect custom database with WordPress, change data in WordPress and finaly use this data
- Changes to code not displaying
- Running Gutenberg React in Development Mode
- Is there a blank theme framework compatible with WP 3.0? [closed]
- WordPress hook before inserting post into database
- Check for and enforce unique value in user-entered custom meta field in WP Admin
- Enable / Add Custom Keyboard Shortcuts To Work With WordPress’ HTML Editor
- Managing Images for a WordPress Blog: Picasa or Flickr?
- How to exclude certain widget from showing up on home/front page? [duplicate]
- Theme Activation, Create Database Tables
- What is causing this error? “Warning: Invalid argument”
- Modifying loop on a custom page, strange behaviour
- WordPress native “playlist” shortcode. Next and Prev there are but with no icons. How to fix?
- Show post page only if the user has bought a specific product
- Best way to implement a thumbnail-based gallery in WordPress?
- Create simple Cookie Box for WordPress
- How to remove buttons from the WP Editor on the edit post page in the admin area
- Does wordpress prevent non wordpress pages from being allowed on the same domain?
- Different development environments (Mac & Windows)
- WordPress Locale Switching on Accept-Language Header
- WordPress media uploader – upload tabs not hiding
- how to convert Html block to dynamic widget?
- Is there a way to set the value and text for Select/Radio/Checkbox using More Fields?
- Custom Log In Screen – Disable password recovery [duplicate]
- the_post_thumbnail() returns nothing even though has_post_thumbnail() returns true
- orderby in query_posts
- Problem with custom user meta field
- What are “best practices” for wp-config.php
- Instant install of wordpress
- Problem with theme activatation
- How to customize feed?
- Two description meta tags All in One SEO WordPress [closed]
- Create page as a file in my theme?
- Changing the the_author_posts_link() hover title
- How to display page ids as page slug names?
- Fatal error Call to a member function insert() on a non-object [closed]
- Custom Register Link on Backend Form
- Create Miltiple Category Base
- customer specific email attachment
- How do I run a web app in my WordPress theme without the “wp-content/theme/…/webapp” in URL?
- Get /users/me details from WordPress backend
- mailchimp integration on a custom footer
- Can’t Customize WordPress Page
- Use Theme CSS in custom code
- How to show the hero of website when sending website link?
- How should I design subcategory login site?
- How do I change the button text color on my header?
- Execute function with jQuery if widget added or removed?
- Displaying Child Page’s Information
- Query 1 custom post type, each day, alphabetically
- Admin menu disable new/delete page
- Change default “Apply Changes To” radio option when editing images
- How to loop through 1 CPT with 2 Taxonomies
- If I delete my wordpress site then does that delete all my sites?
- How to support extra color options for shortcodes?
- retrieve theme custom settings
- pull custom fields values from wp-database in a nested foreach loop
- Customise default site setup
- Adding a third custom taxonomies
- Pass query param to custom page
- Custom CSS File wont work on second Page
- How to create a shortcode with HTML code in it and custom parameters/
- Storing form data into wordpress database [closed]
- Background image no more visible in the preview
- I need to make the title of the page dynamic in my custom plugin
- Custom CSS working on home page but not on NEW created PAGE