Apparently this...
$lastid = $wpdb->insert_id
...will give me the last inserted row (as noted here: How to get last inserted row ID from wordpress database?).
But how can I target a specific table, and get information from the latest inserted row after a form was just submitted?
For example, I have a table called 'license' and each row contains the columns 'email' and 'name' (among others).
The idea is that after I insert something into that row with a form, I need to display the email and name on screen.
Any help would be awesome.