Notice: Undefined variable: string in /home/u665484253/domains/wpcodekit.com/public_html/wp-content/themes/twentytwenty-child/functions.php on line 61
How to get last id from sql database in wordpress ?
After insert code
$lastid = $wpdb->insert_id;
How to get last id from sql database in wordpress ?
$lastid = $wpdb->insert_id;
wpcodekit Website Designers is one of the best website designing company in punjab 2020. We create beautiful looking, fast and secure websites.We are create professional websites in punjab since 2016.
Website Designed and Developed by Jaspreet Singh