How to use phpspreadsheet reader with $wpdb

I’m assuming you mean this PhpSpreadsheet; if not, please edit your question to clarify. To incorporate any third-party PHP library into your WordPress site, you’ll either need to write a plugin or find one that already does what you need. The PhpSpreadsheet docs explain how you’d incorporate their library into any PHP application, which includes … Read more

Running a long script in PHP

You can add some settings to your script to reduce count of imported products in one run. The simplest way – add fields like “Import from” and “Imported count”. You can run your script several times playing with “Import from” parameter and import 200 products (for example) per one time.

PHP – Converting elements to actual values

You didn’t include value in your checkboxes you have: ‘<input type=”checkbox” name=”Num1[]” />’ . $Thing1->Product1 . “<br />”; Should be: ‘<input type=”checkbox” name=”Num1[]” value=”‘ . $Thing1->Product1 . ‘” />’ . $Thing1->Product1 . “<br />”;