<?php
$link = mysql_connect('localhost', 'root', '') or die('mysql database connect error');
mysql_select_db('victor') or die('the selected database is not exist');
$sql = "insert into mytable (name) values('aaaa')";
mysql_query($sql);
sleep(10); //十秒钟再招待
echo mysql_insert_id();
die();
?>
$link = mysql_connect('localhost', 'root', '') or die('mysql database connect error');
mysql_select_db('victor') or die('the selected database is not exist');
$sql = "insert into mytable (name) values('aaaa')";
mysql_query($sql);
sleep(10); //十秒钟再招待
echo mysql_insert_id();
die();
?>