Got the lower portion here sorted, but now there\'s an issue when it inserts the record. I have the NULL
value for file
formatted as %s
fo
Hopefully, you define global variable = $wpdb.
If your $wpdb not working, and also not showing any error then you must try these three steps.
Print your error using with errors functions.
echo $wpdb->last_error;
or
echo $wpdb->show_errors();
If no error visible then you must print your last query using with last query function.
echo $wpdb->last_query();
Copy and paste your last query in your Phpmyadmin > Your Database -> Table -> SQL tab, click on Go button, you will definitely get proper solutions(errors) in it.
Thanks,
Rocky Mehta.