Get next auto_increment value in mysql

<?php
SHOW TABLE STATUS LIKE '$tablename';
ehco mysql_result($query, 0, 'Auto_increment ');
?>

Leave a Reply

Page 1 of 1712345NextLast »