I have been trying to access this variable for several hours now.
It is shown in the object $wpdb->last_result->[0]->pid
$pid = $wpdb->last_result[0]->pid;
I can get one of the values (as shown above), but I need them all in an array.
I tried adding with a loop but it always errors.
I also tried $wpdb-get_results
which is always NULL
.
I also tried $wpdb->get_col
which is also NULL
no matter what.