I have fixed this, the issue was in the way I was creating the array. I was using a multi-dimensional and needed to call the correct level of the array in the post.
By calling
$_POST[‘customer’]
which was the name of the array I could access the correct rows. Here is what the array looks like. Quite painful but I solved it in the end so wanted to ensure I shared for others.
Array (
[customer] => Array (
[0] => Array ( [customer_id] => 6 [locations_id] => 1 [funding_source] => 2 [attend_date] => 2018-02-12 [approval_date] => 2018-02-12 )
[1] => Array ( [customer_id] => 2 [locations_id] => 1 [funding_source] => 1 [attend_date] => 2018-02-12 [approval_date] => 2018-02-12 )
)
[approve_data] => Approve Attendance )
Related Posts:
- phpMyAdmin – Error > Incorrect format parameter?
- Difference between partition key, composite key and clustering key in Cassandra?
- How SID is different from Service name in Oracle tnsnames.ora
- What is a relation in database terminology?
- Why is my database import losing text widget data?
- Are There Any Plans for WordPress to Support Databases Other Than MySQL?
- Reset Post IDs to less than 64bit integer
- Insert data in database using form
- how can get database name in wordpress?
- Does WordPress use the InnoDB engine for MySQL by default?
- Best way to import users, post and categories from an external database
- Long option names fail silently?
- wp_options is GB in size
- Upload files – total size limit – WordPress/Contact Form 7
- Relationship between performance and database size
- Why does WordPress rely on an fully qualified site_url with a 15-step plan for moving a site?
- WordPress and automated MySQL backups to a different host
- Scheduling posts in database
- Size article thumbnails and retrieve them directly from database
- Should I be able to run two different “close” code versions of wordpress with the same DB
- how to store arrays into a database
- How can I create a Bible search engine via WordPress? [closed]
- Error establishing a database connection; After importing DB & Theme
- Where are WP_Errors Saved
- Get all images from this database table
- Delete transients in website
- Error establishing database connection – high traffic?
- Bulk-create posts from SQL database
- I am switching laptops. I host my WP server through MAMP. I want to transfer [closed]
- How can i customize the export personal data file?
- Database Table for customer user
- Is there a solution to auto-post data to a WP post from a database
- Auto login subdomain from main domain on single sites with different DB
- How to Access wp_usermeta Data Immediately After a New User is Created
- Cleanup: best way to remove WooCommerce comments from the wp_comments table
- Logins from WP users table use on another page
- How can I show related posts from multiple separate installations
- Uknown meta entries in wp_postmeta
- Error establishing a database connection problem in xampp saver
- WordPress site URL changed; how to fix it without database access?
- I’m not able to get access to $wpdb [duplicate]
- Error establishing a database connection,
- Create table with dbDelta,can’t put any DEFAULT data
- WordPress database connection [closed]
- Changing between Local Host DB to Production DB and in reverse
- Post Views / Hit Counter Problem?
- Connecting to a different database
- What is the purpose of the “term_id” column in the “wp_term_taxonomy” table?
- Query Column of Specific ID from Database Table
- Posting variables to WP database using $_POST method
- Link image with data from the wpdb
- Should I use an additional column in the DB?
- Storing user submitted forms [closed]
- User Tracking for Custom Post Type “Lesson”. Database Queries and Performance
- Understanding WordPress Search
- Re-creating a WordPress database
- contact form-7 drop downs not populating database [closed]
- Cloning blog to localhost via WAMP
- Can’t log into wordpress site – I have made a new user and still cant access
- Export WP Subsite DB Fully Ready for Import Elsewhere
- Sed Command Not Writing Changes to SQL file
- Realtime database update from 3rd party apps (notion, airtable, sheet, etc)
- Join Query on WP_USERMETA Table
- Error during installation (DB)
- WordPress Settings API Overrides My Previous Value
- Move Non-WordPress users table to WordPress database
- How to check and get json object in WP database?
- Is there an actual way to synchronize ‘production’ and ‘develop’ WordPress databases?
- Lost database connection
- How to force set same page as homepage and blogpage in static page settings
- Getting values from form and saving in database but spaces are inserted instead of form values
- is it possible to install new WordPress in an old WordPress folder?
- Can someoene please help with customization of a post?
- Exporting Post ID, Post Title, Primary Category and Primary Category ID
- HELP $q=mysql_query($sel) or die(mysql_error()) HELP
- Updating Posts table in database without overwriting user generated content
- WordPress credentials not matched
- 2 $wpdb queries causing error Table ‘wp_postmeta’ is specified twice, both as a target for ‘UPDATE’
- Confused over wp-config.php and ‘database user + database password + name’
- Updating database with CSV file and Cron job
- Change Domain name in database
- WordPress character set issue
- Copy WordPress to new directory
- Improving wpdb queries with large data
- Link wordpress with a SQl + MongoDB + .NET
- What am I doing wrong here? WordPress database error
- Why is converting my database to UTF-8 truncating entries?
- How can I work on a database along side a client?
- Download user generated data from WordPress
- /var/run/mysqld/mysqld.sock
- WordPress site seems convinced that it’s still at its old URL
- Database question while Migrating from one domain to another on same WebHost [Bluehost]
- Media Library won’t recognize SOME old files after move
- export individual posts to text files or a single csv file
- WordPress dbdelta a semicolon
- single.php not pulling in any data from database
- How do I use update_option to give me a new option name each time a form is submitted? [duplicate]
- How can I rebuild my websites while I don’t have databases?
- WP Multisite Users Not Linking
- Query a meta key using an array of values where the database value is a string